cardano-api-1.26.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Api

Description

This module provides a library interface for interacting with Cardano as a user of the system.

It is intended to be the complete API covering everything but without exposing constructors that reveal any lower level types.

In the interest of simplicity it glosses over some details of the system. Most simple tools should be able to work just using this interface, however you can go deeper and expose the types from the underlying libraries using Cardano.Api.Byron or Cardano.Api.Shelley.

Synopsis

Eras

data ByronEra Source #

A type used as a tag to distinguish the Byron era.

Instances

Instances details
HasTypeProxy ByronEra Source # 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType ByronEra Source #

IsCardanoEra ByronEra Source # 
Instance details

Defined in Cardano.Api.Eras

data AsType ByronEra Source # 
Instance details

Defined in Cardano.Api.Eras

data ShelleyEra Source #

A type used as a tag to distinguish the Shelley era.

Instances

Instances details
HasTypeProxy ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType ShelleyEra Source #

IsShelleyBasedEra ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Eras

data AsType ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Eras

data AllegraEra Source #

A type used as a tag to distinguish the Allegra era.

Instances

Instances details
HasTypeProxy AllegraEra Source # 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType AllegraEra Source #

IsShelleyBasedEra AllegraEra Source # 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra AllegraEra Source # 
Instance details

Defined in Cardano.Api.Eras

data AsType AllegraEra Source # 
Instance details

Defined in Cardano.Api.Eras

data MaryEra Source #

A type used as a tag to distinguish the Mary era.

Instances

Instances details
HasTypeProxy MaryEra Source # 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType MaryEra Source #

IsShelleyBasedEra MaryEra Source # 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra MaryEra Source # 
Instance details

Defined in Cardano.Api.Eras

data AsType MaryEra Source # 
Instance details

Defined in Cardano.Api.Eras

data CardanoEra era where Source #

This GADT provides a value-level representation of all the Cardano eras. This enables pattern matching on the era to allow them to be treated in a non-uniform way.

This can be used in combination with the IsCardanoEra class to get access to this value.

In combination this can often enable code that handles all eras, and does so uniformly where possible, and non-uniformly where necessary.

Instances

Instances details
Eq (CardanoEra era) Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

(==)CardanoEra era → CardanoEra era → Bool #

(/=)CardanoEra era → CardanoEra era → Bool #

Ord (CardanoEra era) Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

compareCardanoEra era → CardanoEra era → Ordering #

(<)CardanoEra era → CardanoEra era → Bool #

(<=)CardanoEra era → CardanoEra era → Bool #

(>)CardanoEra era → CardanoEra era → Bool #

(>=)CardanoEra era → CardanoEra era → Bool #

maxCardanoEra era → CardanoEra era → CardanoEra era #

minCardanoEra era → CardanoEra era → CardanoEra era #

Show (CardanoEra era) Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

showsPrecIntCardanoEra era → ShowS #

showCardanoEra era → String #

showList ∷ [CardanoEra era] → ShowS #

TestEquality CardanoEra Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

testEquality ∷ ∀ (a ∷ k) (b ∷ k). CardanoEra a → CardanoEra b → Maybe (a :~: b) #

class HasTypeProxy era ⇒ IsCardanoEra era where Source #

The class of Cardano eras. This allows uniform handling of all Cardano eras, but also non-uniform by making case distinctions on the CardanoEra constructors, or the CardanoEraStyle constructors via cardanoEraStyle.

Methods

cardanoEraCardanoEra era Source #

Instances

Instances details
IsCardanoEra MaryEra Source # 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra AllegraEra Source # 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Eras

IsCardanoEra ByronEra Source # 
Instance details

Defined in Cardano.Api.Eras

anyCardanoEraCardanoEra era → AnyCardanoEra Source #

Like the AnyCardanoEra constructor but does not demand a IsCardanoEra class constraint.

data InAnyCardanoEra thing where Source #

This pairs up some era-dependent type with a CardanoEra value that tells us what era it is, but hides the era type. This is useful when the era is not statically known, for example when deserialising from a file.

Constructors

InAnyCardanoEraIsCardanoEra era ⇒ CardanoEra era → thing era → InAnyCardanoEra thing 

Shelley-based eras

data ShelleyBasedEra era where Source #

While the Byron and Shelley eras are quite different, there are several eras that are based on Shelley with only minor differences. It is useful to be able to treat the Shelley-based eras in a mostly-uniform way.

Values of this type witness the fact that the era is Shelley-based. This can be used to constrain the era to being a Shelley-based on. It allows non-uniform handling making case distinctions on the constructor.

Instances

Instances details
Eq (ShelleyBasedEra era) Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

(==)ShelleyBasedEra era → ShelleyBasedEra era → Bool #

(/=)ShelleyBasedEra era → ShelleyBasedEra era → Bool #

Ord (ShelleyBasedEra era) Source # 
Instance details

Defined in Cardano.Api.Eras

Show (ShelleyBasedEra era) Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

showsPrecIntShelleyBasedEra era → ShowS #

showShelleyBasedEra era → String #

showList ∷ [ShelleyBasedEra era] → ShowS #

class (IsCardanoEra era, Crypto (ShelleyLedgerEra era) ~ StandardCrypto) ⇒ IsShelleyBasedEra era where Source #

The class of eras that are based on Shelley. This allows uniform handling of Shelley-based eras, but also non-uniform by making case distinctions on the ShelleyBasedEra constructors.

data InAnyShelleyBasedEra thing where Source #

This pairs up some era-dependent type with a ShelleyBasedEra value that tells us what era it is, but hides the era type. This is useful when the era is not statically known, for example when deserialising from a file.

Constructors

InAnyShelleyBasedEraIsShelleyBasedEra era ⇒ ShelleyBasedEra era → thing era → InAnyShelleyBasedEra thing 

data CardanoEraStyle era where Source #

This is the same essential information as CardanoEra but instead of a flat set of alternative eras, it is factored into the legcy Byron era and the current Shelley-based eras.

This way of factoring the eras is useful because in many cases the major differences are between the Byron and Shelley-based eras, and the Shelley-based eras can often be treated uniformly.

Instances

Instances details
Eq (CardanoEraStyle era) Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

(==)CardanoEraStyle era → CardanoEraStyle era → Bool #

(/=)CardanoEraStyle era → CardanoEraStyle era → Bool #

Ord (CardanoEraStyle era) Source # 
Instance details

Defined in Cardano.Api.Eras

Show (CardanoEraStyle era) Source # 
Instance details

Defined in Cardano.Api.Eras

Methods

showsPrecIntCardanoEraStyle era → ShowS #

showCardanoEraStyle era → String #

showList ∷ [CardanoEraStyle era] → ShowS #

Deprecated

type Byron = ByronEra Source #

Deprecated: Use ByronEra or ByronAddr as appropriate

type Shelley = ShelleyEra Source #

Deprecated: Use ShelleyEra or ShelleyAddr as appropriate

type Allegra = AllegraEra Source #

Deprecated: Use AllegraEra instead

type Mary = MaryEra Source #

Deprecated: Use MaryEra instead

Type tags

class HasTypeProxy t where Source #

Associated Types

data AsType t Source #

A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.

Values of this type are passed to deserialisation functions for example.

Methods

proxyToAsTypeProxy t → AsType t Source #

Instances

Instances details
HasTypeProxy MaryEra Source # 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType MaryEra Source #

HasTypeProxy AllegraEra Source # 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType AllegraEra Source #

HasTypeProxy ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType ShelleyEra Source #

HasTypeProxy ByronEra Source # 
Instance details

Defined in Cardano.Api.Eras

Associated Types

data AsType ByronEra Source #

HasTypeProxy TxMetadata Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Associated Types

data AsType TxMetadata Source #

HasTypeProxy StakePoolKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType StakePoolKey Source #

HasTypeProxy GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType GenesisUTxOKey Source #

HasTypeProxy GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTypeProxy GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType GenesisDelegateKey Source #

HasTypeProxy GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType GenesisExtendedKey Source #

HasTypeProxy GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType GenesisKey Source #

HasTypeProxy StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType StakeExtendedKey Source #

HasTypeProxy StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType StakeKey Source #

HasTypeProxy PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType PaymentExtendedKey Source #

HasTypeProxy PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType PaymentKey Source #

HasTypeProxy ScriptHash Source # 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType ScriptHash Source #

HasTypeProxy ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType ScriptInAnyLang Source #

HasTypeProxy SimpleScriptV2 Source # 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType SimpleScriptV2 Source #

HasTypeProxy SimpleScriptV1 Source # 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType SimpleScriptV1 Source #

HasTypeProxy VrfKey Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Associated Types

data AsType VrfKey Source #

HasTypeProxy KesKey Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Associated Types

data AsType KesKey Source #

HasTypeProxy ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

Associated Types

data AsType ByronKeyLegacy Source #

HasTypeProxy ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

Associated Types

data AsType ByronKey Source #

HasTypeProxy StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Associated Types

data AsType StakePoolMetadata Source #

HasTypeProxy ByronVote Source # 
Instance details

Defined in Cardano.Api.SpecialByron

Associated Types

data AsType ByronVote Source #

HasTypeProxy ByronUpdateProposal Source # 
Instance details

Defined in Cardano.Api.SpecialByron

Associated Types

data AsType ByronUpdateProposal Source #

HasTypeProxy StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType StakeAddress Source #

HasTypeProxy AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType AddressAny Source #

HasTypeProxy ShelleyAddr Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType ShelleyAddr Source #

HasTypeProxy ByronAddr Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType ByronAddr Source #

HasTypeProxy AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Associated Types

data AsType AssetName Source #

HasTypeProxy PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Associated Types

data AsType PolicyId Source #

HasTypeProxy UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

data AsType UpdateProposal Source #

HasTypeProxy Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

Associated Types

data AsType Certificate Source #

HasTypeProxy TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

Associated Types

data AsType TxId Source #

HasTypeProxy BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

Associated Types

data AsType BlockHeader Source #

HasTypeProxy OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTypeProxy OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Associated Types

data AsType OperationalCertificate Source #

HasTypeProxy a ⇒ HasTypeProxy (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) Source #

Methods

proxyToAsTypeProxy (Hash a) → AsType (Hash a) Source #

HasTypeProxy a ⇒ HasTypeProxy (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key

Associated Types

data AsType (VerificationKey a) Source #

HasTypeProxy a ⇒ HasTypeProxy (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Key

Associated Types

data AsType (SigningKey a) Source #

HasTypeProxy era ⇒ HasTypeProxy (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType (ScriptInEra era) Source #

HasTypeProxy lang ⇒ HasTypeProxy (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType (Script lang) Source #

Methods

proxyToAsTypeProxy (Script lang) → AsType (Script lang) Source #

HasTypeProxy era ⇒ HasTypeProxy (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType (AddressInEra era) Source #

HasTypeProxy addrtype ⇒ HasTypeProxy (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType (Address addrtype) Source #

Methods

proxyToAsTypeProxy (Address addrtype) → AsType (Address addrtype) Source #

HasTypeProxy era ⇒ HasTypeProxy (TxBody era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Associated Types

data AsType (TxBody era) Source #

Methods

proxyToAsTypeProxy (TxBody era) → AsType (TxBody era) Source #

HasTypeProxy era ⇒ HasTypeProxy (Witness era) Source # 
Instance details

Defined in Cardano.Api.Tx

Associated Types

data AsType (Witness era) Source #

Methods

proxyToAsTypeProxy (Witness era) → AsType (Witness era) Source #

HasTypeProxy era ⇒ HasTypeProxy (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx

Associated Types

data AsType (Tx era) Source #

Methods

proxyToAsTypeProxy (Tx era) → AsType (Tx era) Source #

Cryptographic key interface

class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) ⇒ Key keyrole Source #

An interface for cryptographic keys used for signatures with a SigningKey and a VerificationKey key.

This interface does not provide actual signing or verifying functions since this API is concerned with the management of keys: generating and serialising.

Instances

Instances details
Key StakePoolKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key VrfKey Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Key KesKey Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Key ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

Key ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

data family VerificationKey keyrole ∷ Type Source #

The type of cryptographic verification key, for each key role.

Instances

Instances details
Eq (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Eq (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Eq (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Eq (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Show (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Show (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Show (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Show (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsString (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

IsString (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

IsString (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsString (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

FromCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

FromCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

FromCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

FromCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

ToCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey StakePoolKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakePoolKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakePoolKey] → Size #

ToCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisUTxOKey] → Size #

ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisDelegateKey] → Size #

ToCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisExtendedKey] → Size #

ToCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisKey] → Size #

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakeExtendedKey] → Size #

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakeKey] → Size #

ToCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey PaymentExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey PaymentExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey PaymentExtendedKey] → Size #

ToCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey PaymentKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey PaymentKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey PaymentKey] → Size #

ToCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

toCBORVerificationKey VrfKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VrfKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VrfKey] → Size #

ToCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

toCBORVerificationKey KesKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey KesKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey KesKey] → Size #

ToCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

toCBORVerificationKey ByronKeyLegacy → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey ByronKeyLegacy) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey ByronKeyLegacy] → Size #

ToCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

toCBORVerificationKey ByronKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey ByronKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey ByronKey] → Size #

HasTypeProxy a ⇒ HasTypeProxy (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key

Associated Types

data AsType (VerificationKey a) Source #

SerialiseAsCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsRawBytes (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

HasTextEnvelope (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

HasTextEnvelope (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

HasTextEnvelope (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsBech32 (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsBech32 (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsBech32 (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype VerificationKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey StakePoolKey = StakePoolVerificationKey (VKey 'StakePool StandardCrypto)
newtype VerificationKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey GenesisUTxOKey = GenesisUTxOVerificationKey (VKey 'Payment StandardCrypto)
newtype VerificationKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey GenesisDelegateKey = GenesisDelegateVerificationKey (VKey 'GenesisDelegate StandardCrypto)
newtype VerificationKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey GenesisKey = GenesisVerificationKey (VKey 'Genesis StandardCrypto)
newtype VerificationKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey StakeKey = StakeVerificationKey (VKey 'Staking StandardCrypto)
newtype VerificationKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey PaymentKey = PaymentVerificationKey (VKey 'Payment StandardCrypto)
newtype VerificationKey VrfKey Source # 
Instance details

Defined in Cardano.Api.KeysPraos

newtype VerificationKey VrfKey = VrfVerificationKey (VerKeyVRF StandardCrypto)
newtype VerificationKey KesKey Source # 
Instance details

Defined in Cardano.Api.KeysPraos

newtype VerificationKey KesKey = KesVerificationKey (VerKeyKES StandardCrypto)
newtype VerificationKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype VerificationKey ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key

getVerificationKeyKey keyrole ⇒ SigningKey keyrole → VerificationKey keyrole Source #

Get the corresponding verification key from a signing key.

verificationKeyHashKey keyrole ⇒ VerificationKey keyrole → Hash keyrole Source #

castVerificationKeyCastVerificationKeyRole keyroleA keyroleB ⇒ VerificationKey keyroleA → VerificationKey keyroleB Source #

Change the role of a VerificationKey, if the representation permits.

castSigningKeyCastSigningKeyRole keyroleA keyroleB ⇒ SigningKey keyroleA → SigningKey keyroleB Source #

Change the role of a SigningKey, if the representation permits.

Generating keys

generateSigningKeyKey keyrole ⇒ AsType keyrole → IO (SigningKey keyrole) Source #

Generate a SigningKey using a seed from operating system entropy.

deterministicSigningKeyKey keyrole ⇒ AsType keyrole → Seed → SigningKey keyrole Source #

Generate a SigningKey deterministically, given a Seed. The required size of the seed is given by deterministicSigningKeySeedSize.

Hashes

In Cardano most keys are identified by their hash, and hashes are used in many other places.

data family Hash keyrole ∷ Type Source #

Instances

Instances details
Eq (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

(==)Hash VrfKeyHash VrfKeyBool #

(/=)Hash VrfKeyHash VrfKeyBool #

Eq (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

(==)Hash KesKeyHash KesKeyBool #

(/=)Hash KesKeyHash KesKeyBool #

Eq (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Eq (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Ord (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Ord (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Ord (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Ord (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Show (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

showsPrecIntHash VrfKeyShowS #

showHash VrfKeyString #

showList ∷ [Hash VrfKey] → ShowS #

Show (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

showsPrecIntHash KesKeyShowS #

showHash KesKeyString #

showList ∷ [Hash KesKey] → ShowS #

Show (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Show (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Show (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

IsString (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

fromStringStringHash VrfKey #

IsString (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

fromStringStringHash KesKey #

IsString (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsString (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toJSONHash StakePoolKey → Value #

toEncodingHash StakePoolKey → Encoding #

toJSONList ∷ [Hash StakePoolKey] → Value #

toEncodingList ∷ [Hash StakePoolKey] → Encoding #

ToJSONKey (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList ∷ ToJSONKeyFunction [Hash StakePoolKey]

HasTypeProxy a ⇒ HasTypeProxy (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) Source #

Methods

proxyToAsTypeProxy (Hash a) → AsType (Hash a) Source #

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash StakePoolKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash StakePoolKey = StakePoolKeyHash (KeyHash 'StakePool StandardCrypto)
newtype Hash GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisUTxOKey = GenesisUTxOKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisDelegateExtendedKey = GenesisDelegateExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash (KeyHash 'GenesisDelegate StandardCrypto)
newtype Hash GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisExtendedKey = GenesisExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisKey = GenesisKeyHash (KeyHash 'Genesis StandardCrypto)
newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash StakeExtendedKey = StakeExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash StakeKey = StakeKeyHash (KeyHash 'Staking StandardCrypto)
newtype Hash PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash PaymentExtendedKey = PaymentExtendedKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash PaymentKey = PaymentKeyHash (KeyHash 'Payment StandardCrypto)
newtype Hash VrfKey Source # 
Instance details

Defined in Cardano.Api.KeysPraos

newtype Hash VrfKey = VrfKeyHash (Hash StandardCrypto (VerKeyVRF StandardCrypto))
newtype Hash KesKey Source # 
Instance details

Defined in Cardano.Api.KeysPraos

newtype Hash KesKey = KesKeyHash (Hash StandardCrypto (VerKeyKES StandardCrypto))
newtype Hash ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype Hash ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype Hash ByronKey = ByronKeyHash KeyHash
newtype Hash StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

newtype Hash StakePoolMetadata = StakePoolMetadataHash (Hash StandardCrypto ByteString)
newtype Hash BlockHeader Source #

For now at least we use a fixed concrete hash type for all modes and era. The different eras do use different types, but it's all the same underlying representation.

Instance details

Defined in Cardano.Api.Block

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)

castHashCastHash roleA roleB ⇒ Hash roleA → Hash roleB Source #

Payment addresses

Constructing and inspecting normal payment addresses

data Address addrtype Source #

Addresses are used as locations where assets live. The address determines the rights needed to spend assets at the address: in particular holding some signing key or being able to satisfy the conditions of a script.

There are currently two types of address:

  • Byron addresses, which use the type tag ByronAddr; and
  • Shelley addresses, which use the type tag ShelleyAddr. Notably, Shelley addresses support scripts and stake delegation.

The address type is subtly from the ledger era in which each address type is valid: while Byron addresses are the only choice in the Byron era, the Shelley era and all subsequent eras support both Byron and Shelley addresses. The Address type param only says the type of the address (either Byron or Shelley). The AddressInEra type connects the address type with the era in which it is supported.

Instances

Instances details
Eq (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

(==)Address addrtype → Address addrtype → Bool #

(/=)Address addrtype → Address addrtype → Bool #

Ord (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

compareAddress addrtype → Address addrtype → Ordering #

(<)Address addrtype → Address addrtype → Bool #

(<=)Address addrtype → Address addrtype → Bool #

(>)Address addrtype → Address addrtype → Bool #

(>=)Address addrtype → Address addrtype → Bool #

maxAddress addrtype → Address addrtype → Address addrtype #

minAddress addrtype → Address addrtype → Address addrtype #

Show (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

showsPrecIntAddress addrtype → ShowS #

showAddress addrtype → String #

showList ∷ [Address addrtype] → ShowS #

HasTypeProxy addrtype ⇒ HasTypeProxy (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType (Address addrtype) Source #

Methods

proxyToAsTypeProxy (Address addrtype) → AsType (Address addrtype) Source #

SerialiseAsRawBytes (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAsBech32 (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAddress (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAddress (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Address

data AsType (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)

data NetworkId Source #

Constructors

Mainnet 
Testnet !NetworkMagic 

Instances

Instances details
Eq NetworkId Source # 
Instance details

Defined in Cardano.Api.NetworkId

Methods

(==)NetworkIdNetworkIdBool #

(/=)NetworkIdNetworkIdBool #

Show NetworkId Source # 
Instance details

Defined in Cardano.Api.NetworkId

Methods

showsPrecIntNetworkIdShowS #

showNetworkIdString #

showList ∷ [NetworkId] → ShowS #

Byron addresses

data ByronKey Source #

Byron-era payment keys. Used for Byron addresses and witnessing transactions that spend from these addresses.

These use Ed25519 but with a 32byte "chaincode" used in HD derivation. The inclusion of the chaincode is a design mistake but one that cannot be corrected for the Byron era. The Shelley era PaymentKeys do not include a chaincode. It is safe to use a zero or random chaincode for new Byron keys.

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

Associated Types

data AsType ByronKey Source #

Key ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsByronKey ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

CastVerificationKeyRole ByronKeyLegacy ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

CastVerificationKeyRole ByronKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

CastVerificationKeyRole ByronKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

Eq (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Eq (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Ord (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Show (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Show (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Show (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsString (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsString (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsString (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

FromCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

FromCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

fromCBOR ∷ Decoder s (SigningKey ByronKey) #

labelProxy (SigningKey ByronKey) → Text #

ToCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

toCBORVerificationKey ByronKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey ByronKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey ByronKey] → Size #

ToCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

toCBORSigningKey ByronKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey ByronKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey ByronKey] → Size #

SerialiseAsCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

HasTextEnvelope (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

HasTextEnvelope (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsBech32 (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsBech32 (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

data AsType ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype Hash ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype Hash ByronKey = ByronKeyHash KeyHash
newtype VerificationKey ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype SigningKey ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype SigningKey ByronKey = ByronSigningKey SigningKey

data ByronKeyLegacy Source #

Instances

Instances details
HasTypeProxy ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

Associated Types

data AsType ByronKeyLegacy Source #

Key ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsByronKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

CastVerificationKeyRole ByronKeyLegacy ByronKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

Eq (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Eq (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Ord (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Show (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Show (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Show (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsString (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsString (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsString (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

FromCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

FromCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

ToCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

toCBORVerificationKey ByronKeyLegacy → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey ByronKeyLegacy) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey ByronKeyLegacy] → Size #

ToCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

toCBORSigningKey ByronKeyLegacy → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey ByronKeyLegacy) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey ByronKeyLegacy] → Size #

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

HasTextEnvelope (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

data AsType ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype Hash ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype VerificationKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

newtype SigningKey ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.KeysByron

Shelley addresses

data PaymentKey Source #

Shelley-era payment keys. Used for Shelley payment addresses and witnessing transactions that spend from these addresses.

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType PaymentKey Source #

Key PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastSigningKeyRole GenesisUTxOKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole GenesisUTxOKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole PaymentExtendedKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole ByronKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

Eq (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey PaymentKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey PaymentKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey PaymentKey] → Size #

ToCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey PaymentKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey PaymentKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey PaymentKey] → Size #

SerialiseAsCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash PaymentKey = PaymentKeyHash (KeyHash 'Payment StandardCrypto)
newtype VerificationKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey PaymentKey = PaymentVerificationKey (VKey 'Payment StandardCrypto)
newtype SigningKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype SigningKey PaymentKey = PaymentSigningKey (SignKeyDSIGN StandardCrypto)

data PaymentExtendedKey Source #

Shelley-era payment keys using extended ed25519 cryptographic keys.

They can be used for Shelley payment addresses and witnessing transactions that spend from these addresses.

These extended keys are used by HD wallets. So this type provides interoperability with HD wallets. The ITN CLI also supported this key type.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey PaymentKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey PaymentKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType PaymentExtendedKey Source #

Key PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole PaymentExtendedKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole ByronKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysByron

Eq (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey PaymentExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey PaymentExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey PaymentExtendedKey] → Size #

ToCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey PaymentExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey PaymentExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey PaymentExtendedKey] → Size #

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash PaymentExtendedKey = PaymentExtendedKeyHash (KeyHash 'Payment StandardCrypto)
newtype VerificationKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype SigningKey PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Addresses in any era

data AddressAny Source #

Either a Byron address or a Shelley address.

Sometimes we need to be able to work with either of the two types of address (Byron or Shelley addresses), but without reference to an era in which the address will be used. This type serves that purpose.

Instances

Instances details
Eq AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

Methods

(==)AddressAnyAddressAnyBool #

(/=)AddressAnyAddressAnyBool #

Ord AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

Show AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

HasTypeProxy AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType AddressAny Source #

SerialiseAsRawBytes AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAddress AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

data AsType AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

Addresses in specific eras

data AddressInEra era where Source #

An Address that can be used in a particular ledger era.

All current ledger eras support Byron addresses. Shelley addresses are supported in the ShelleyEra and later eras.

Constructors

AddressInEraAddressTypeInEra addrtype era → Address addrtype → AddressInEra era 

Instances

Instances details
Eq (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

(==)AddressInEra era → AddressInEra era → Bool #

(/=)AddressInEra era → AddressInEra era → Bool #

Show (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

showsPrecIntAddressInEra era → ShowS #

showAddressInEra era → String #

showList ∷ [AddressInEra era] → ShowS #

IsCardanoEra era ⇒ ToJSON (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

toJSONAddressInEra era → Value #

toEncodingAddressInEra era → Encoding #

toJSONList ∷ [AddressInEra era] → Value #

toEncodingList ∷ [AddressInEra era] → Encoding #

HasTypeProxy era ⇒ HasTypeProxy (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType (AddressInEra era) Source #

IsCardanoEra era ⇒ SerialiseAsRawBytes (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

IsCardanoEra era ⇒ SerialiseAddress (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

data AsType (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

data AddressTypeInEra addrtype era where Source #

Instances

Instances details
Show (AddressTypeInEra addrtype era) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

showsPrecIntAddressTypeInEra addrtype era → ShowS #

showAddressTypeInEra addrtype era → String #

showList ∷ [AddressTypeInEra addrtype era] → ShowS #

Stake addresses

Constructing and inspecting stake addresses

data StakeAddress Source #

Instances

Instances details
Eq StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

Ord StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

Show StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

HasTypeProxy StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType StakeAddress Source #

SerialiseAsRawBytes StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAsBech32 StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAddress StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

data AsType StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

data StakeKey Source #

Instances

Instances details
HasTypeProxy StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType StakeKey Source #

Key StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole StakeExtendedKey StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

fromCBOR ∷ Decoder s (SigningKey StakeKey) #

labelProxy (SigningKey StakeKey) → Text #

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakeKey] → Size #

ToCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey StakeKey] → Size #

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash StakeKey = StakeKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey StakeKey = StakeVerificationKey (VKey 'Staking StandardCrypto)
newtype SigningKey StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype SigningKey StakeKey = StakeSigningKey (SignKeyDSIGN StandardCrypto)

data StakeExtendedKey Source #

Shelley-era stake keys using extended ed25519 cryptographic keys.

They can be used for Shelley stake addresses and witnessing transactions that use stake addresses.

These extended keys are used by HD wallets. So this type provides interoperability with HD wallets. The ITN CLI also supported this key type.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey StakeKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey StakeKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType StakeExtendedKey Source #

Key StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole StakeExtendedKey StakeKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakeExtendedKey] → Size #

ToCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey StakeExtendedKey] → Size #

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash StakeExtendedKey = StakeExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype SigningKey StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Currency values

Ada / Lovelace

data Lovelace Source #

Instances

Instances details
Enum Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Eq Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Methods

(==)LovelaceLovelaceBool #

(/=)LovelaceLovelaceBool #

Num Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Ord Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Show Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Methods

showsPrecIntLovelaceShowS #

showLovelaceString #

showList ∷ [Lovelace] → ShowS #

Semigroup Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Monoid Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

FromJSON Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser Lovelace #

parseJSONList ∷ Value → Parser [Lovelace] #

ToJSON Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONLovelace → Value #

toEncodingLovelace → Encoding #

toJSONList ∷ [Lovelace] → Value #

toEncodingList ∷ [Lovelace] → Encoding #

Multi-asset values

newtype Quantity Source #

Constructors

Quantity Integer 

Instances

Instances details
Eq Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

(==)QuantityQuantityBool #

(/=)QuantityQuantityBool #

Num Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Ord Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Show Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

showsPrecIntQuantityShowS #

showQuantityString #

showList ∷ [Quantity] → ShowS #

Semigroup Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Monoid Quantity Source # 
Instance details

Defined in Cardano.Api.Value

FromJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser Quantity #

parseJSONList ∷ Value → Parser [Quantity] #

ToJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONQuantity → Value #

toEncodingQuantity → Encoding #

toJSONList ∷ [Quantity] → Value #

toEncodingList ∷ [Quantity] → Encoding #

newtype PolicyId Source #

Constructors

PolicyId ScriptHash 

Instances

Instances details
Eq PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

(==)PolicyIdPolicyIdBool #

(/=)PolicyIdPolicyIdBool #

Ord PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Show PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

showsPrecIntPolicyIdShowS #

showPolicyIdString #

showList ∷ [PolicyId] → ShowS #

IsString PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

fromStringStringPolicyId #

HasTypeProxy PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

Associated Types

data AsType PolicyId Source #

SerialiseAsRawBytes PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

data AsType PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

newtype AssetName Source #

Constructors

AssetName ByteString 

Instances

Instances details
Eq AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

(==)AssetNameAssetNameBool #

(/=)AssetNameAssetNameBool #

Ord AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Show AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

showsPrecIntAssetNameShowS #

showAssetNameString #

showList ∷ [AssetName] → ShowS #

IsString AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

fromStringStringAssetName #

FromJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser AssetName #

parseJSONList ∷ Value → Parser [AssetName] #

ToJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONAssetName → Value #

toEncodingAssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

FromJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

fromJSONKey ∷ FromJSONKeyFunction AssetName

fromJSONKeyList ∷ FromJSONKeyFunction [AssetName]

ToJSONKey AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONKey ∷ ToJSONKeyFunction AssetName

toJSONKeyList ∷ ToJSONKeyFunction [AssetName]

HasTypeProxy AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Associated Types

data AsType AssetName Source #

SerialiseAsRawBytes AssetName Source # 
Instance details

Defined in Cardano.Api.Value

data AsType AssetName Source # 
Instance details

Defined in Cardano.Api.Value

data AssetId Source #

Instances

Instances details
Eq AssetId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

(==)AssetIdAssetIdBool #

(/=)AssetIdAssetIdBool #

Ord AssetId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

compareAssetIdAssetIdOrdering #

(<)AssetIdAssetIdBool #

(<=)AssetIdAssetIdBool #

(>)AssetIdAssetIdBool #

(>=)AssetIdAssetIdBool #

maxAssetIdAssetIdAssetId #

minAssetIdAssetIdAssetId #

Show AssetId Source # 
Instance details

Defined in Cardano.Api.Value

Methods

showsPrecIntAssetIdShowS #

showAssetIdString #

showList ∷ [AssetId] → ShowS #

data Value Source #

Instances

Instances details
Eq Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

(==)ValueValueBool #

(/=)ValueValueBool #

Show Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

showsPrecIntValueShowS #

showValueString #

showList ∷ [Value] → ShowS #

Semigroup Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

(<>)ValueValueValue #

sconcatNonEmpty ValueValue #

stimesIntegral b ⇒ b → ValueValue #

Monoid Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

memptyValue #

mappendValueValueValue #

mconcat ∷ [Value] → Value #

FromJSON Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value0 → Parser Value #

parseJSONList ∷ Value0 → Parser [Value] #

ToJSON Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONValue → Value0 #

toEncodingValue → Encoding #

toJSONList ∷ [Value] → Value0 #

toEncodingList ∷ [Value] → Encoding #

negateValueValueValue Source #

This lets you write a - b as a <> negateValue b.

newtype ValueNestedRep Source #

An alternative nested representation for Value that groups assets that share a PolicyId.

Ada / Lovelace within multi-asset values

valueToLovelaceValueMaybe Lovelace Source #

Check if the Value consists of only Lovelace and no other assets, and if so then return the Lovelace.

See also selectLovelace to select the Lovelace quantity from the Value, ignoring other assets.

Blocks

Blocks in the context of an era

data Block era where Source #

A blockchain block in a particular Cardano era.

Bundled Patterns

pattern BlockBlockHeader → [Tx era] → Block era

A block consists of a header and a body containing transactions.

Instances

Instances details
Show (Block era) Source # 
Instance details

Defined in Cardano.Api.Block

Methods

showsPrecIntBlock era → ShowS #

showBlock era → String #

showList ∷ [Block era] → ShowS #

data BlockHeader Source #

Instances

Instances details
HasTypeProxy BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

Associated Types

data AsType BlockHeader Source #

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Show (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

data AsType BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

newtype Hash BlockHeader Source #

For now at least we use a fixed concrete hash type for all modes and era. The different eras do use different types, but it's all the same underlying representation.

Instance details

Defined in Cardano.Api.Block

Points on the chain

data ChainPoint Source #

Instances

Instances details
Eq ChainPoint Source # 
Instance details

Defined in Cardano.Api.Block

Methods

(==)ChainPointChainPointBool #

(/=)ChainPointChainPointBool #

Show ChainPoint Source # 
Instance details

Defined in Cardano.Api.Block

newtype EpochNo #

Constructors

EpochNo 

Fields

Instances

Instances details
Enum EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Eq EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

(==)EpochNoEpochNoBool #

(/=)EpochNoEpochNoBool #

Num EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Ord EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

compareEpochNoEpochNoOrdering #

(<)EpochNoEpochNoBool #

(<=)EpochNoEpochNoBool #

(>)EpochNoEpochNoBool #

(>=)EpochNoEpochNoBool #

maxEpochNoEpochNoEpochNo #

minEpochNoEpochNoEpochNo #

Show EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

showsPrecIntEpochNoShowS #

showEpochNoString #

showList ∷ [EpochNo] → ShowS #

Generic EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep EpochNoTypeType #

Methods

fromEpochNoRep EpochNo x #

toRep EpochNo x → EpochNo #

FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochNo #

parseJSONList ∷ Value → Parser [EpochNo] #

NoThunks EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

noThunks ∷ Context → EpochNoIO (Maybe ThunkInfo)

wNoThunks ∷ Context → EpochNoIO (Maybe ThunkInfo)

showTypeOfProxy EpochNoString

ToJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSONEpochNo → Value #

toEncodingEpochNo → Encoding #

toJSONList ∷ [EpochNo] → Value #

toEncodingList ∷ [EpochNo] → Encoding #

FromCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR ∷ Decoder s EpochNo #

labelProxy EpochNoText #

ToCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOREpochNo → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy EpochNo → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [EpochNo] → Size #

Serialise EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

encodeEpochNo → Encoding

decode ∷ Decoder s EpochNo

encodeList ∷ [EpochNo] → Encoding

decodeList ∷ Decoder s [EpochNo]

Condense EpochNo 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseEpochNoString

type Rep EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

type Rep EpochNo = D1 ('MetaData "EpochNo" "Cardano.Slotting.Slot" "cardano-slotting-0.1.0.0-10a86c431becea4c170ffb78542e0918018dc4a3de8471b56e336e906e0c1d61" 'True) (C1 ('MetaCons "EpochNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

Tip of the chain

data ChainTip Source #

This is like a ChainPoint but is conventionally used for the tip of the chain: that is the most recent block at the end of the chain.

It also carries the BlockNo of the chain tip.

Instances

Instances details
Eq ChainTip Source # 
Instance details

Defined in Cardano.Api.Block

Methods

(==)ChainTipChainTipBool #

(/=)ChainTipChainTipBool #

Show ChainTip Source # 
Instance details

Defined in Cardano.Api.Block

Methods

showsPrecIntChainTipShowS #

showChainTipString #

showList ∷ [ChainTip] → ShowS #

ToJSON ChainTip Source # 
Instance details

Defined in Cardano.Api.Block

Methods

toJSONChainTip → Value #

toEncodingChainTip → Encoding #

toJSONList ∷ [ChainTip] → Value #

toEncodingList ∷ [ChainTip] → Encoding #

newtype BlockNo #

Constructors

BlockNo 

Fields

Instances

Instances details
Bounded BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Enum BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Eq BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

(==)BlockNoBlockNoBool #

(/=)BlockNoBlockNoBool #

Num BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Ord BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

compareBlockNoBlockNoOrdering #

(<)BlockNoBlockNoBool #

(<=)BlockNoBlockNoBool #

(>)BlockNoBlockNoBool #

(>=)BlockNoBlockNoBool #

maxBlockNoBlockNoBlockNo #

minBlockNoBlockNoBlockNo #

Show BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

showsPrecIntBlockNoShowS #

showBlockNoString #

showList ∷ [BlockNo] → ShowS #

Generic BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Associated Types

type Rep BlockNoTypeType #

Methods

fromBlockNoRep BlockNo x #

toRep BlockNo x → BlockNo #

NoThunks BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

noThunks ∷ Context → BlockNoIO (Maybe ThunkInfo)

wNoThunks ∷ Context → BlockNoIO (Maybe ThunkInfo)

showTypeOfProxy BlockNoString

FromCBOR BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

fromCBOR ∷ Decoder s BlockNo #

labelProxy BlockNoText #

ToCBOR BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

toCBORBlockNo → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy BlockNo → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BlockNo] → Size #

Serialise BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

encodeBlockNo → Encoding

decode ∷ Decoder s BlockNo

encodeList ∷ [BlockNo] → Encoding

decodeList ∷ Decoder s [BlockNo]

Condense BlockNo 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseBlockNoString

type Rep BlockNo 
Instance details

Defined in Cardano.Slotting.Block

type Rep BlockNo = D1 ('MetaData "BlockNo" "Cardano.Slotting.Block" "cardano-slotting-0.1.0.0-10a86c431becea4c170ffb78542e0918018dc4a3de8471b56e336e906e0c1d61" 'True) (C1 ('MetaCons "BlockNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBlockNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

Building transactions

Building transactions

Constructing and inspecting transactions

Transaction bodies

data TxBody era Source #

Instances

Instances details
Eq (TxBody era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxBody era → TxBody era → Bool #

(/=)TxBody era → TxBody era → Bool #

Show (TxBody era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxBody era → ShowS #

showTxBody era → String #

showList ∷ [TxBody era] → ShowS #

HasTypeProxy era ⇒ HasTypeProxy (TxBody era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Associated Types

data AsType (TxBody era) Source #

Methods

proxyToAsTypeProxy (TxBody era) → AsType (TxBody era) Source #

IsCardanoEra era ⇒ SerialiseAsCBOR (TxBody era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

serialiseToCBORTxBody era → ByteString Source #

deserialiseFromCBORAsType (TxBody era) → ByteStringEither DecoderError (TxBody era) Source #

IsCardanoEra era ⇒ HasTextEnvelope (TxBody era) Source # 
Instance details

Defined in Cardano.Api.TxBody

data AsType (TxBody era) Source # 
Instance details

Defined in Cardano.Api.TxBody

data AsType (TxBody era) = AsTxBody (AsType era)

Transaction Ids

newtype TxId Source #

Constructors

TxId (Hash StandardCrypto EraIndependentTxBody) 

Instances

Instances details
Eq TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxIdTxIdBool #

(/=)TxIdTxIdBool #

Ord TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

compareTxIdTxIdOrdering #

(<)TxIdTxIdBool #

(<=)TxIdTxIdBool #

(>)TxIdTxIdBool #

(>=)TxIdTxIdBool #

maxTxIdTxIdTxId #

minTxIdTxIdTxId #

Show TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxIdShowS #

showTxIdString #

showList ∷ [TxId] → ShowS #

IsString TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

fromStringStringTxId #

ToJSON TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxId → Value #

toEncodingTxId → Encoding #

toJSONList ∷ [TxId] → Value #

toEncodingList ∷ [TxId] → Encoding #

HasTypeProxy TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

Associated Types

data AsType TxId Source #

SerialiseAsRawBytes TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

data AsType TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

getTxId ∷ ∀ era. TxBody era → TxId Source #

Calculate the transaction identifier for a TxBody.

Transaction inputs

data TxIn Source #

Constructors

TxIn TxId TxIx 

Instances

Instances details
Eq TxIn Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxInTxInBool #

(/=)TxInTxInBool #

Ord TxIn Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

compareTxInTxInOrdering #

(<)TxInTxInBool #

(<=)TxInTxInBool #

(>)TxInTxInBool #

(>=)TxInTxInBool #

maxTxInTxInTxIn #

minTxInTxInTxIn #

Show TxIn Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxInShowS #

showTxInString #

showList ∷ [TxIn] → ShowS #

ToJSON TxIn Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxIn → Value #

toEncodingTxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSONKey TxIn Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONKey ∷ ToJSONKeyFunction TxIn

toJSONKeyList ∷ ToJSONKeyFunction [TxIn]

newtype TxIx Source #

Constructors

TxIx Word 

Instances

Instances details
Enum TxIx Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

succTxIxTxIx #

predTxIxTxIx #

toEnumIntTxIx #

fromEnumTxIxInt #

enumFromTxIx → [TxIx] #

enumFromThenTxIxTxIx → [TxIx] #

enumFromToTxIxTxIx → [TxIx] #

enumFromThenToTxIxTxIxTxIx → [TxIx] #

Eq TxIx Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxIxTxIxBool #

(/=)TxIxTxIxBool #

Ord TxIx Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

compareTxIxTxIxOrdering #

(<)TxIxTxIxBool #

(<=)TxIxTxIxBool #

(>)TxIxTxIxBool #

(>=)TxIxTxIxBool #

maxTxIxTxIxTxIx #

minTxIxTxIxTxIx #

Show TxIx Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxIxShowS #

showTxIxString #

showList ∷ [TxIx] → ShowS #

ToJSON TxIx Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxIx → Value #

toEncodingTxIx → Encoding #

toJSONList ∷ [TxIx] → Value #

toEncodingList ∷ [TxIx] → Encoding #

Transaction outputs

data TxOut era Source #

Constructors

TxOut (AddressInEra era) (TxOutValue era) 

Instances

Instances details
Eq (TxOut era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxOut era → TxOut era → Bool #

(/=)TxOut era → TxOut era → Bool #

Show (TxOut era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxOut era → ShowS #

showTxOut era → String #

showList ∷ [TxOut era] → ShowS #

Generic (TxOut era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Associated Types

type Rep (TxOut era) ∷ TypeType #

Methods

fromTxOut era → Rep (TxOut era) x #

toRep (TxOut era) x → TxOut era #

IsCardanoEra era ⇒ ToJSON (TxOut era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxOut era → Value #

toEncodingTxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

type Rep (TxOut era) Source # 
Instance details

Defined in Cardano.Api.TxBody

type Rep (TxOut era) = D1 ('MetaData "TxOut" "Cardano.Api.TxBody" "cardano-api-1.26.0-inplace" 'False) (C1 ('MetaCons "TxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AddressInEra era)) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TxOutValue era))))

data TxOutValue era where Source #

Instances

Instances details
Eq (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxOutValue era → TxOutValue era → Bool #

(/=)TxOutValue era → TxOutValue era → Bool #

Show (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxOutValue era → ShowS #

showTxOutValue era → String #

showList ∷ [TxOutValue era] → ShowS #

Generic (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Associated Types

type Rep (TxOutValue era) ∷ TypeType #

Methods

fromTxOutValue era → Rep (TxOutValue era) x #

toRep (TxOutValue era) x → TxOutValue era #

ToJSON (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxOutValue era → Value #

toEncodingTxOutValue era → Encoding #

toJSONList ∷ [TxOutValue era] → Value #

toEncodingList ∷ [TxOutValue era] → Encoding #

type Rep (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Other transaction body types

data TxFee era where Source #

Constructors

TxFeeImplicitTxFeesImplicitInEra era → TxFee era 
TxFeeExplicitTxFeesExplicitInEra era → LovelaceTxFee era 

Instances

Instances details
Eq (TxFee era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxFee era → TxFee era → Bool #

(/=)TxFee era → TxFee era → Bool #

Show (TxFee era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxFee era → ShowS #

showTxFee era → String #

showList ∷ [TxFee era] → ShowS #

data TxValidityUpperBound era where Source #

This was formerly known as the TTL.

Instances

Instances details
Eq (TxValidityUpperBound era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Show (TxValidityUpperBound era) Source # 
Instance details

Defined in Cardano.Api.TxBody

newtype SlotNo #

Constructors

SlotNo 

Fields

Instances

Instances details
Bounded SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Enum SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Eq SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

(==)SlotNoSlotNoBool #

(/=)SlotNoSlotNoBool #

Num SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

(+)SlotNoSlotNoSlotNo #

(-)SlotNoSlotNoSlotNo #

(*)SlotNoSlotNoSlotNo #

negateSlotNoSlotNo #

absSlotNoSlotNo #

signumSlotNoSlotNo #

fromIntegerIntegerSlotNo #

Ord SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

compareSlotNoSlotNoOrdering #

(<)SlotNoSlotNoBool #

(<=)SlotNoSlotNoBool #

(>)SlotNoSlotNoBool #

(>=)SlotNoSlotNoBool #

maxSlotNoSlotNoSlotNo #

minSlotNoSlotNoSlotNo #

Show SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

showsPrecIntSlotNoShowS #

showSlotNoString #

showList ∷ [SlotNo] → ShowS #

Generic SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep SlotNoTypeType #

Methods

fromSlotNoRep SlotNo x #

toRep SlotNo x → SlotNo #

NFData SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

rnfSlotNo → () #

FromJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON ∷ Value → Parser SlotNo #

parseJSONList ∷ Value → Parser [SlotNo] #

NoThunks SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

noThunks ∷ Context → SlotNoIO (Maybe ThunkInfo)

wNoThunks ∷ Context → SlotNoIO (Maybe ThunkInfo)

showTypeOfProxy SlotNoString

ToJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSONSlotNo → Value #

toEncodingSlotNo → Encoding #

toJSONList ∷ [SlotNo] → Value #

toEncodingList ∷ [SlotNo] → Encoding #

FromCBOR SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR ∷ Decoder s SlotNo #

labelProxy SlotNoText #

ToCBOR SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBORSlotNo → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SlotNo → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SlotNo] → Size #

Serialise SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

encodeSlotNo → Encoding

decode ∷ Decoder s SlotNo

encodeList ∷ [SlotNo] → Encoding

decodeList ∷ Decoder s [SlotNo]

Condense SlotNo 
Instance details

Defined in Ouroboros.Consensus.Util.Condense

Methods

condenseSlotNoString

HasField "ttl" (TxBody era) SlotNo 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

getField ∷ TxBody era → SlotNo #

HasHeader block ⇒ Anchorable (WithOrigin SlotNo) (Anchor block) block 
Instance details

Defined in Ouroboros.Network.AnchoredFragment

Methods

asAnchor ∷ block → Anchor block

getAnchorMeasureProxy block → Anchor block → WithOrigin SlotNo

Anchorable (WithOrigin SlotNo) (HeaderState blk) (HeaderState blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Methods

asAnchor ∷ HeaderState blk → HeaderState blk

getAnchorMeasureProxy (HeaderState blk) → HeaderState blk → WithOrigin SlotNo

GetTip l ⇒ Anchorable (WithOrigin SlotNo) (Checkpoint l) (Checkpoint l) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.InMemory

Methods

asAnchor ∷ Checkpoint l → Checkpoint l

getAnchorMeasureProxy (Checkpoint l) → Checkpoint l → WithOrigin SlotNo

Embed (StakeCreds era) (Map (Credential 'Staking era) SlotNo) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toBase ∷ StakeCreds era → Map (Credential 'Staking era) SlotNo

fromBaseMap (Credential 'Staking era) SlotNo → StakeCreds era

HasExp (StakeCreds era) (Map (Credential 'Staking era) SlotNo) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toExp ∷ StakeCreds era → Exp (Map (Credential 'Staking era) SlotNo)

type Rep SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

type Rep SlotNo = D1 ('MetaData "SlotNo" "Cardano.Slotting.Slot" "cardano-slotting-0.1.0.0-10a86c431becea4c170ffb78542e0918018dc4a3de8471b56e336e906e0c1d61" 'True) (C1 ('MetaCons "SlotNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSlotNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

newtype EpochSlots #

Constructors

EpochSlots 

Fields

Instances

Instances details
Eq EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

(==)EpochSlotsEpochSlotsBool #

(/=)EpochSlotsEpochSlotsBool #

Data EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → EpochSlots → c EpochSlots #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c EpochSlots #

toConstrEpochSlotsConstr #

dataTypeOfEpochSlotsDataType #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c EpochSlots) #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c EpochSlots) #

gmapT ∷ (∀ b. Data b ⇒ b → b) → EpochSlotsEpochSlots #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → EpochSlots → r #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → EpochSlots → r #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → EpochSlots → [u] #

gmapQiInt → (∀ d. Data d ⇒ d → u) → EpochSlots → u #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → EpochSlots → m EpochSlots #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → EpochSlots → m EpochSlots #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → EpochSlots → m EpochSlots #

Ord EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Read EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Show EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Generic EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Associated Types

type Rep EpochSlotsTypeType #

Buildable EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

buildEpochSlotsBuilder

NoThunks EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

noThunks ∷ Context → EpochSlotsIO (Maybe ThunkInfo)

wNoThunks ∷ Context → EpochSlotsIO (Maybe ThunkInfo)

showTypeOfProxy EpochSlotsString

FromCBOR EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

fromCBOR ∷ Decoder s EpochSlots #

labelProxy EpochSlotsText #

ToCBOR EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

toCBOREpochSlots → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy EpochSlots → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [EpochSlots] → Size #

type Rep EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

type Rep EpochSlots = D1 ('MetaData "EpochSlots" "Cardano.Chain.Slotting.EpochSlots" "cardano-ledger-byron-0.1.0.0-c7a1f3bb3e18922521e6fe162ffa1eef3d798d385c8174f3d5976bb8d704193c" 'True) (C1 ('MetaCons "EpochSlots" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochSlots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

data TxMetadataInEra era where Source #

Instances

Instances details
Eq (TxMetadataInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxMetadataInEra era → TxMetadataInEra era → Bool #

(/=)TxMetadataInEra era → TxMetadataInEra era → Bool #

Show (TxMetadataInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxMetadataInEra era → ShowS #

showTxMetadataInEra era → String #

showList ∷ [TxMetadataInEra era] → ShowS #

data TxAuxScripts era where Source #

Instances

Instances details
Eq (TxAuxScripts era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxAuxScripts era → TxAuxScripts era → Bool #

(/=)TxAuxScripts era → TxAuxScripts era → Bool #

Show (TxAuxScripts era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxAuxScripts era → ShowS #

showTxAuxScripts era → String #

showList ∷ [TxAuxScripts era] → ShowS #

data TxWithdrawals era where Source #

Instances

Instances details
Eq (TxWithdrawals era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxWithdrawals era → TxWithdrawals era → Bool #

(/=)TxWithdrawals era → TxWithdrawals era → Bool #

Show (TxWithdrawals era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxWithdrawals era → ShowS #

showTxWithdrawals era → String #

showList ∷ [TxWithdrawals era] → ShowS #

data TxCertificates era where Source #

Instances

Instances details
Eq (TxCertificates era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxCertificates era → TxCertificates era → Bool #

(/=)TxCertificates era → TxCertificates era → Bool #

Show (TxCertificates era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxCertificates era → ShowS #

showTxCertificates era → String #

showList ∷ [TxCertificates era] → ShowS #

data TxUpdateProposal era where Source #

Instances

Instances details
Eq (TxUpdateProposal era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxUpdateProposal era → TxUpdateProposal era → Bool #

(/=)TxUpdateProposal era → TxUpdateProposal era → Bool #

Show (TxUpdateProposal era) Source # 
Instance details

Defined in Cardano.Api.TxBody

data TxMintValue era where Source #

Constructors

TxMintNoneTxMintValue era 
TxMintValueMultiAssetSupportedInEra era → ValueTxMintValue era 

Instances

Instances details
Eq (TxMintValue era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

(==)TxMintValue era → TxMintValue era → Bool #

(/=)TxMintValue era → TxMintValue era → Bool #

Show (TxMintValue era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

showsPrecIntTxMintValue era → ShowS #

showTxMintValue era → String #

showList ∷ [TxMintValue era] → ShowS #

Era-dependent transaction body features

data MultiAssetSupportedInEra era where Source #

A representation of whether the era supports multi-asset transactions.

The Mary and subsequent eras support multi-asset transactions.

The negation of this is OnlyAdaSupportedInEra.

Constructors

MultiAssetInMaryEraMultiAssetSupportedInEra MaryEra

Multi-asset transactions are supported in the Mary era.

Instances

Instances details
Eq (MultiAssetSupportedInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Show (MultiAssetSupportedInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

ToJSON (MultiAssetSupportedInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONMultiAssetSupportedInEra era → Value #

toEncodingMultiAssetSupportedInEra era → Encoding #

toJSONList ∷ [MultiAssetSupportedInEra era] → Value #

toEncodingList ∷ [MultiAssetSupportedInEra era] → Encoding #

data OnlyAdaSupportedInEra era where Source #

A representation of whether the era supports only ada transactions.

Prior to the Mary era only ada transactions are supported. Multi-assets are supported from the Mary era onwards.

This is the negation of MultiAssetSupportedInEra. It exists since we need evidence to be positive.

Instances

Instances details
Eq (OnlyAdaSupportedInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Show (OnlyAdaSupportedInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

data TxFeesExplicitInEra era where Source #

A representation of whether the era requires explicitly specified fees in transactions.

The Byron era tx fees are implicit (as the difference bettween the sum of outputs and sum of inputs), but all later eras the fees are specified in the transaction explicitly.

Instances

Instances details
Eq (TxFeesExplicitInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Show (TxFeesExplicitInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

data TxFeesImplicitInEra era where Source #

A representation of whether the era requires implicitly specified fees in transactions.

This is the negation of TxFeesExplicitInEra.

Instances

Instances details
Eq (TxFeesImplicitInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Show (TxFeesImplicitInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

data ValidityUpperBoundSupportedInEra era where Source #

A representation of whether the era supports transactions with an upper bound on the range of slots in which they are valid.

The Shelley and subsequent eras support an upper bound on the validity range. In the Shelley era specifically it is actually required. It is optional in later eras.

data ValidityNoUpperBoundSupportedInEra era where Source #

A representation of whether the era supports transactions having no upper bound on the range of slots in which they are valid.

Note that the ShelleyEra does not support omitting a validity upper bound. It was introduced as a required field in Shelley and then made optional in Allegra and subsequent eras.

The Byron era supports this by virtue of the fact that it does not support validity ranges at all.

data ValidityLowerBoundSupportedInEra era where Source #

A representation of whether the era supports transactions with a lower bound on the range of slots in which they are valid.

The Allegra and subsequent eras support an optional lower bound on the validity range. No equivalent of ValidityNoUpperBoundSupportedInEra is needed since all eras support having no lower bound.

data TxMetadataSupportedInEra era where Source #

A representation of whether the era supports transaction metadata.

Transaction metadata is supported from the Shelley era onwards.

data AuxScriptsSupportedInEra era where Source #

A representation of whether the era supports auxiliary scripts in transactions.

Auxiliary scripts are supported from the Allegra era onwards.

data WithdrawalsSupportedInEra era where Source #

A representation of whether the era supports withdrawals from reward accounts.

The Shelley and subsequent eras support stake addresses, their associated reward accounts and support for withdrawals from them.

data CertificatesSupportedInEra era where Source #

A representation of whether the era supports Certificates embedded in transactions.

The Shelley and subsequent eras support such certificates.

data UpdateProposalSupportedInEra era where Source #

A representation of whether the era supports UpdateProposals embedded in transactions.

The Shelley and subsequent eras support such update proposals. They Byron era has a notion of an update proposal, but it is a standalone chain object and not embedded in a transaction.

Feature availability functions

Signing transactions

Creating transaction witnesses one by one, or all in one go.

data Tx era where Source #

Bundled Patterns

pattern TxTxBody era → [Witness era] → Tx era 

Instances

Instances details
Eq (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx

Methods

(==)Tx era → Tx era → Bool #

(/=)Tx era → Tx era → Bool #

Show (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx

Methods

showsPrecIntTx era → ShowS #

showTx era → String #

showList ∷ [Tx era] → ShowS #

HasTypeProxy era ⇒ HasTypeProxy (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx

Associated Types

data AsType (Tx era) Source #

Methods

proxyToAsTypeProxy (Tx era) → AsType (Tx era) Source #

IsCardanoEra era ⇒ SerialiseAsCBOR (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx

Methods

serialiseToCBORTx era → ByteString Source #

deserialiseFromCBORAsType (Tx era) → ByteStringEither DecoderError (Tx era) Source #

IsCardanoEra era ⇒ HasTextEnvelope (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx

data AsType (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx

data AsType (Tx era) = AsTx (AsType era)

getTxBody ∷ ∀ era. Tx era → TxBody era Source #

getTxWitnesses ∷ ∀ era. Tx era → [Witness era] Source #

Signing in one go

Incremental signing and separate witnesses

makeSignedTransaction ∷ ∀ era. [Witness era] → TxBody era → Tx era Source #

data Witness era Source #

Instances

Instances details
Eq (Witness era) Source # 
Instance details

Defined in Cardano.Api.Tx

Methods

(==)Witness era → Witness era → Bool #

(/=)Witness era → Witness era → Bool #

Show (Witness era) Source # 
Instance details

Defined in Cardano.Api.Tx

Methods

showsPrecIntWitness era → ShowS #

showWitness era → String #

showList ∷ [Witness era] → ShowS #

HasTypeProxy era ⇒ HasTypeProxy (Witness era) Source # 
Instance details

Defined in Cardano.Api.Tx

Associated Types

data AsType (Witness era) Source #

Methods

proxyToAsTypeProxy (Witness era) → AsType (Witness era) Source #

IsCardanoEra era ⇒ SerialiseAsCBOR (Witness era) Source # 
Instance details

Defined in Cardano.Api.Tx

IsCardanoEra era ⇒ HasTextEnvelope (Witness era) Source # 
Instance details

Defined in Cardano.Api.Tx

data AsType (Witness era) Source # 
Instance details

Defined in Cardano.Api.Tx

data AsType (Witness era) = AsWitness (AsType era)

makeByronTransaction ∷ [TxIn] → [TxOut ByronEra] → Either (TxBodyError ByronEra) (TxBody ByronEra) Source #

Transitional function to help the CLI move to the updated TxBody API.

makeScriptWitness ∷ ∀ era. ScriptInEra era → Witness era Source #

Fee calculation

transactionFee Source #

Arguments

∷ ∀ era. IsShelleyBasedEra era 
Natural

The fixed tx fee

Natural

The tx fee per byte

Tx era 
Lovelace 

For a concrete fully-constructed transaction, determine the minimum fee that it needs to pay.

This function is simple, but if you are doing input selection then you probably want to consider estimateTransactionFee.

estimateTransactionFee Source #

Arguments

∷ ∀ era. IsShelleyBasedEra era 
NetworkId 
Natural

The fixed tx fee

Natural

The tx fee per byte

Tx era 
Int

The number of extra UTxO transaction inputs

Int

The number of extra transaction outputs

Int

The number of extra Shelley key witnesses

Int

The number of extra Byron key witnesses

Lovelace 

This can estimate what the transaction fee will be, based on a starting base transaction, plus the numbers of the additional components of the transaction that may be added.

So for example with wallet coin selection, the base transaction should contain all the things not subject to coin selection (such as script inputs, metadata, withdrawals, certs etc)

Transaction metadata

Embedding additional structured data within transactions.

newtype TxMetadata Source #

Instances

Instances details
Eq TxMetadata Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Methods

(==)TxMetadataTxMetadataBool #

(/=)TxMetadataTxMetadataBool #

Show TxMetadata Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Semigroup TxMetadata Source #

Merge metadata maps. When there are clashing entries the left hand side takes precedence.

Instance details

Defined in Cardano.Api.TxMetadata

Monoid TxMetadata Source # 
Instance details

Defined in Cardano.Api.TxMetadata

HasTypeProxy TxMetadata Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Associated Types

data AsType TxMetadata Source #

SerialiseAsCBOR TxMetadata Source # 
Instance details

Defined in Cardano.Api.TxMetadata

data AsType TxMetadata Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Constructing metadata

Validating metadata

validateTxMetadataTxMetadataEither [(Word64, TxMetadataRangeError)] () Source #

Validate transaction metadata. This is for use with existing constructed metadata values, e.g. constructed manually or decoded from CBOR directly.

data TxMetadataRangeError Source #

An error in transaction metadata due to an out-of-range value.

Constructors

TxMetadataNumberOutOfRange !Integer

The number is outside the maximum range of -2^64-1 .. 2^64-1.

TxMetadataTextTooLong !Int

The length of a text string metadatum value exceeds the maximum of 64 bytes as UTF8.

TxMetadataBytesTooLong !Int

The length of a byte string metadatum value exceeds the maximum of 64 bytes.

Converstion to/from JSON

data TxMetadataJsonSchema Source #

Tx metadata is similar to JSON but not exactly the same. It has some deliberate limitations such as no support for floating point numbers or special forms for null or boolean values. It also has limitations on the length of strings. On the other hand, unlike JSON, it distinguishes between byte strings and text strings. It also supports any value as map keys rather than just string.

We provide two different mappings between tx metadata and JSON, useful for different purposes:

  1. A mapping that allows almost any JSON value to be converted into tx metadata. This does not require a specific JSON schema for the input. It does not expose the full representation capability of tx metadata.
  2. A mapping that exposes the full representation capability of tx metadata, but relies on a specific JSON schema for the input JSON.

In the "no schema" mapping, the idea is that (almost) any JSON can be turned into tx metadata and then converted back, without loss. That is, we can round-trip the JSON.

The subset of JSON supported is all JSON except: * No null or bool values * No floating point, only integers in the range of a 64bit signed integer * A limitation on string lengths

The approach for this mapping is to use whichever representation as tx metadata is most compact. In particular:

  • JSON lists and maps represented as CBOR lists and maps
  • JSON strings represented as CBOR strings
  • JSON hex strings with "0x" prefix represented as CBOR byte strings
  • JSON integer numbers represented as CBOR signed or unsigned numbers
  • JSON maps with string keys that parse as numbers or hex byte strings, represented as CBOR map keys that are actually numbers or byte strings.

The string length limit depends on whether the hex string representation is used or not. For text strings the limit is 64 bytes for the UTF8 representation of the text string. For byte strings the limit is 64 bytes for the raw byte form (ie not the input hex, but after hex decoding).

In the "detailed schema" mapping, the idea is that we expose the full representation capability of the tx metadata in the form of a JSON schema. This means the full representation is available and can be controlled precisely. It also means any tx metadata can be converted into the JSON and back without loss. That is we can round-trip the tx metadata via the JSON and also round-trip schema-compliant JSON via tx metadata.

Constructors

TxMetadataJsonNoSchema

Use the "no schema" mapping between JSON and tx metadata as described above.

TxMetadataJsonDetailedSchema

Use the "detailed schema" mapping between JSON and tx metadata as described above.

metadataFromJsonTxMetadataJsonSchema → Value → Either TxMetadataJsonError TxMetadata Source #

Convert a value from JSON into tx metadata, using the given choice of mapping between JSON and tx metadata.

This may fail with a conversion error if the JSON is outside the supported subset for the chosen mapping. See TxMetadataJsonSchema for the details.

metadataToJsonTxMetadataJsonSchemaTxMetadata → Value Source #

Convert a tx metadata value into JSON , using the given choice of mapping between JSON and tx metadata.

This conversion is total but is not necessarily invertible. See TxMetadataJsonSchema for the details.

Certificates

data Certificate Source #

Instances

Instances details
Eq Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

Show Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

FromCBOR Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

Methods

fromCBOR ∷ Decoder s Certificate #

labelProxy CertificateText #

ToCBOR Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

Methods

toCBORCertificate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Certificate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Certificate] → Size #

HasTypeProxy Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

Associated Types

data AsType Certificate Source #

SerialiseAsCBOR Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

HasTextEnvelope Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

data AsType Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

Registering stake address and delegating

Certificates that are embedded in transactions for registering and unregistering stake address, and for setting the stake pool delegation choice for a stake address.

Registering stake pools

Certificates that are embedded in transactions for registering and retiring stake pools. This includes updating the stake pool parameters.

data StakePoolRelay Source #

Instances

Instances details
Eq StakePoolRelay Source # 
Instance details

Defined in Cardano.Api.Certificate

Show StakePoolRelay Source # 
Instance details

Defined in Cardano.Api.Certificate

Stake pool off-chain metadata

data StakePoolMetadata Source #

A representation of the required fields for off-chain stake pool metadata.

Instances

Instances details
Eq StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Show StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

FromJSON StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Methods

parseJSON ∷ Value → Parser StakePoolMetadata #

parseJSONList ∷ Value → Parser [StakePoolMetadata] #

HasTypeProxy StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Associated Types

data AsType StakePoolMetadata Source #

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

data AsType StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

newtype Hash StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

newtype Hash StakePoolMetadata = StakePoolMetadataHash (Hash StandardCrypto ByteString)

validateAndHashStakePoolMetadataByteStringEither StakePoolMetadataValidationError (StakePoolMetadata, Hash StakePoolMetadata) Source #

Decode and validate the provided JSON-encoded bytes as StakePoolMetadata. Return the decoded metadata and the hash of the original bytes.

Scripts

Both PaymentCredentials and StakeCredentials can use scripts.

Script languages

data SimpleScriptV1 Source #

The original simple script language which supports

  • require a signature from a given key (by verification key hash)
  • n-way and combinator
  • n-way or combinator
  • m-of-n combinator

This version of the language was introduced in the ShelleyEra.

data SimpleScriptV2 Source #

The second version of the simple script language. It has all the features of SimpleScriptV1 plus new atomic predicates:

  • require the time be before a given slot number
  • require the time be after a given slot number

This version of the language was introduced in the AllegraEra.

data ScriptLanguage lang where Source #

Instances

Instances details
Eq (ScriptLanguage lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

(==)ScriptLanguage lang → ScriptLanguage lang → Bool #

(/=)ScriptLanguage lang → ScriptLanguage lang → Bool #

Show (ScriptLanguage lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

showsPrecIntScriptLanguage lang → ShowS #

showScriptLanguage lang → String #

showList ∷ [ScriptLanguage lang] → ShowS #

TestEquality ScriptLanguage Source # 
Instance details

Defined in Cardano.Api.Script

Methods

testEquality ∷ ∀ (a ∷ k) (b ∷ k). ScriptLanguage a → ScriptLanguage b → Maybe (a :~: b) #

data SimpleScriptVersion lang where Source #

Instances

Instances details
Eq (SimpleScriptVersion lang) Source # 
Instance details

Defined in Cardano.Api.Script

Show (SimpleScriptVersion lang) Source # 
Instance details

Defined in Cardano.Api.Script

TestEquality SimpleScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

Methods

testEquality ∷ ∀ (a ∷ k) (b ∷ k). SimpleScriptVersion a → SimpleScriptVersion b → Maybe (a :~: b) #

data PlutusScriptVersion lang Source #

Instances

Instances details
Eq (PlutusScriptVersion lang) Source # 
Instance details

Defined in Cardano.Api.Script

Show (PlutusScriptVersion lang) Source # 
Instance details

Defined in Cardano.Api.Script

TestEquality PlutusScriptVersion Source # 
Instance details

Defined in Cardano.Api.Script

Methods

testEquality ∷ ∀ (a ∷ k) (b ∷ k). PlutusScriptVersion a → PlutusScriptVersion b → Maybe (a :~: b) #

Scripts in a specific language

data Script lang where Source #

A script in a particular language.

See also ScriptInAnyLang for a script in any of the languages that is available within a particular era.

See also ScriptInEra for a script in a language that is available within a particular era.

Constructors

SimpleScript ∷ !(SimpleScriptVersion lang) → !(SimpleScript lang) → Script lang 
PlutusScript ∷ !(PlutusScriptVersion lang) → () → Script lang 

Instances

Instances details
Eq (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

(==)Script lang → Script lang → Bool #

(/=)Script lang → Script lang → Bool #

Show (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

showsPrecIntScript lang → ShowS #

showScript lang → String #

showList ∷ [Script lang] → ShowS #

IsScriptLanguage lang ⇒ FromJSON (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser (Script lang) #

parseJSONList ∷ Value → Parser [Script lang] #

ToJSON (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONScript lang → Value #

toEncodingScript lang → Encoding #

toJSONList ∷ [Script lang] → Value #

toEncodingList ∷ [Script lang] → Encoding #

HasTypeProxy lang ⇒ HasTypeProxy (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType (Script lang) Source #

Methods

proxyToAsTypeProxy (Script lang) → AsType (Script lang) Source #

IsScriptLanguage lang ⇒ SerialiseAsCBOR (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

serialiseToCBORScript lang → ByteString Source #

deserialiseFromCBORAsType (Script lang) → ByteStringEither DecoderError (Script lang) Source #

IsScriptLanguage lang ⇒ HasTextEnvelope (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

data AsType (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

data AsType (Script lang) = AsScript (AsType lang)

Scripts in any language

data ScriptInAnyLang where Source #

Sometimes it is necessary to handle all languages without making static type distinctions between languages. For example, when reading external input, or before the era context is known.

Use toScriptInEra to convert to a script in the context of an era.

Constructors

ScriptInAnyLangScriptLanguage lang → Script lang → ScriptInAnyLang 

Instances

Instances details
Eq ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

Show ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

FromJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser ScriptInAnyLang #

parseJSONList ∷ Value → Parser [ScriptInAnyLang] #

ToJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONScriptInAnyLang → Value #

toEncodingScriptInAnyLang → Encoding #

toJSONList ∷ [ScriptInAnyLang] → Value #

toEncodingList ∷ [ScriptInAnyLang] → Encoding #

HasTypeProxy ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType ScriptInAnyLang Source #

SerialiseAsCBOR ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

HasTextEnvelope ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

data AsType ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

toScriptInAnyLangScript lang → ScriptInAnyLang Source #

Convert a script in a specific statically-known language to a ScriptInAnyLang.

No inverse to this is provided, just do case analysis on the ScriptLanguage field within the ScriptInAnyLang constructor.

Scripts in a specific era

data ScriptInEra era where Source #

Constructors

ScriptInEraScriptLanguageInEra lang era → Script lang → ScriptInEra era 

Instances

Instances details
Eq (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

(==)ScriptInEra era → ScriptInEra era → Bool #

(/=)ScriptInEra era → ScriptInEra era → Bool #

Show (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

showsPrecIntScriptInEra era → ShowS #

showScriptInEra era → String #

showList ∷ [ScriptInEra era] → ShowS #

IsCardanoEra era ⇒ FromJSON (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser (ScriptInEra era) #

parseJSONList ∷ Value → Parser [ScriptInEra era] #

ToJSON (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONScriptInEra era → Value #

toEncodingScriptInEra era → Encoding #

toJSONList ∷ [ScriptInEra era] → Value #

toEncodingList ∷ [ScriptInEra era] → Encoding #

HasTypeProxy era ⇒ HasTypeProxy (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

Associated Types

data AsType (ScriptInEra era) Source #

IsCardanoEra era ⇒ SerialiseAsCBOR (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

IsShelleyBasedEra era ⇒ HasTextEnvelope (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

data AsType (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

toScriptInEraCardanoEra era → ScriptInAnyLangMaybe (ScriptInEra era) Source #

Given a target era and a script in some language, check if the language is supported in that era, and if so return a ScriptInEra.

Languages supported in each era

scriptLanguageSupportedInEraCardanoEra era → ScriptLanguage lang → Maybe (ScriptLanguageInEra lang era) Source #

Check if a given script language is supported in a given era, and if so return the evidence.

Simple scripts

Making multi-signature and time-lock scripts.

data SimpleScript lang where Source #

Constructors

RequireSignature ∷ !(Hash PaymentKey) → SimpleScript lang 
RequireTimeBefore ∷ !(TimeLocksSupported lang) → !SlotNoSimpleScript lang 
RequireTimeAfter ∷ !(TimeLocksSupported lang) → !SlotNoSimpleScript lang 
RequireAllOf ∷ [SimpleScript lang] → SimpleScript lang 
RequireAnyOf ∷ [SimpleScript lang] → SimpleScript lang 
RequireMOfInt → [SimpleScript lang] → SimpleScript lang 

Instances

Instances details
Eq (SimpleScript lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

(==)SimpleScript lang → SimpleScript lang → Bool #

(/=)SimpleScript lang → SimpleScript lang → Bool #

Show (SimpleScript lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

showsPrecIntSimpleScript lang → ShowS #

showSimpleScript lang → String #

showList ∷ [SimpleScript lang] → ShowS #

IsSimpleScriptLanguage lang ⇒ FromJSON (SimpleScript lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser (SimpleScript lang) #

parseJSONList ∷ Value → Parser [SimpleScript lang] #

ToJSON (SimpleScript lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONSimpleScript lang → Value #

toEncodingSimpleScript lang → Encoding #

toJSONList ∷ [SimpleScript lang] → Value #

toEncodingList ∷ [SimpleScript lang] → Encoding #

data TimeLocksSupported lang where Source #

Time lock feature in the SimpleScript language.

The constructors of this type serve as evidence that the timelocks feature is supported in particular versions of the language.

Instances

Instances details
Eq (TimeLocksSupported lang) Source # 
Instance details

Defined in Cardano.Api.Script

Show (TimeLocksSupported lang) Source # 
Instance details

Defined in Cardano.Api.Script

adjustSimpleScriptVersionSimpleScriptVersion lang' → SimpleScript lang → Maybe (SimpleScript lang') Source #

Try converting the SimpleScript into a different version of the language.

This will work when the script only uses the features of the target language version. For example converting from SimpleScriptV2 to SimpleScriptV1 will work if the script happens not to use time locks feature. On the other hand converting SimpleScriptV1 to SimpleScriptV2 will always work because it is backwards compatible.

Script addresses

Making addresses from scripts.

data ScriptHash Source #

We have this type separate from the Hash type to avoid the script hash type being parametrised by the era. The representation is era independent, and there are many places where we want to use a script hash where we don't want things to be era-parametrised.

Serialisation

Support for serialising data in JSON, CBOR and text files.

CBOR

class HasTypeProxy a ⇒ SerialiseAsCBOR a Source #

Instances

Instances details
SerialiseAsCBOR TxMetadata Source # 
Instance details

Defined in Cardano.Api.TxMetadata

SerialiseAsCBOR ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

SerialiseAsCBOR UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

SerialiseAsCBOR Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

SerialiseAsCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

SerialiseAsCBOR OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

SerialiseAsCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsCardanoEra era ⇒ SerialiseAsCBOR (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

IsScriptLanguage lang ⇒ SerialiseAsCBOR (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

serialiseToCBORScript lang → ByteString Source #

deserialiseFromCBORAsType (Script lang) → ByteStringEither DecoderError (Script lang) Source #

IsCardanoEra era ⇒ SerialiseAsCBOR (TxBody era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

serialiseToCBORTxBody era → ByteString Source #

deserialiseFromCBORAsType (TxBody era) → ByteStringEither DecoderError (TxBody era) Source #

IsCardanoEra era ⇒ SerialiseAsCBOR (Witness era) Source # 
Instance details

Defined in Cardano.Api.Tx

IsCardanoEra era ⇒ SerialiseAsCBOR (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx

Methods

serialiseToCBORTx era → ByteString Source #

deserialiseFromCBORAsType (Tx era) → ByteStringEither DecoderError (Tx era) Source #

class Typeable a ⇒ ToCBOR a #

Minimal complete definition

toCBOR

Instances

Instances details
ToCBOR Bool 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORBool → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Bool → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Bool] → Size #

ToCBOR Float 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORFloat → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Float → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Float] → Size #

ToCBOR Int 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORInt → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Int → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Int] → Size #

ToCBOR Int32 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORInt32 → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Int32 → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Int32] → Size #

ToCBOR Int64 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORInt64 → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Int64 → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Int64] → Size #

ToCBOR Integer 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORInteger → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Integer → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Integer] → Size #

ToCBOR Natural 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORNatural → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Natural → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Natural] → Size #

ToCBOR Word 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORWord → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Word → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Word] → Size #

ToCBOR Word8 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORWord8 → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Word8 → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Word8] → Size #

ToCBOR Word16 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORWord16 → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Word16 → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Word16] → Size #

ToCBOR Word32 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORWord32 → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Word32 → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Word32] → Size #

ToCBOR Word64 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORWord64 → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Word64 → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Word64] → Size #

ToCBOR () 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR ∷ () → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy () → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [()] → Size #

ToCBOR ByteString 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORByteString → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ByteString → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ByteString] → Size #

ToCBOR ShortByteString 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORShortByteString → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ShortByteString → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ShortByteString] → Size #

ToCBOR ByteString 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORByteString → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ByteString → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ByteString] → Size #

ToCBOR Nano 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORNano → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Nano → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Nano] → Size #

ToCBOR Pico 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORPico → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Pico → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Pico] → Size #

ToCBOR Void 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORVoid → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Void → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Void] → Size #

ToCBOR Text 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORText → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Text → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Text] → Size #

ToCBOR NominalDiffTime 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORNominalDiffTime → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy NominalDiffTime → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [NominalDiffTime] → Size #

ToCBOR BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

toCBORBlockNo → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy BlockNo → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BlockNo] → Size #

ToCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOREpochNo → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy EpochNo → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [EpochNo] → Size #

ToCBOR SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBORSlotNo → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SlotNo → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SlotNo] → Size #

ToCBOR Raw 
Instance details

Defined in Cardano.Binary.Raw

Methods

toCBOR ∷ Raw → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Raw → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Raw] → Size #

ToCBOR Coin 
Instance details

Defined in Shelley.Spec.Ledger.Coin

Methods

toCBOR ∷ Coin → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Coin → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Coin] → Size #

ToCBOR UnitInterval 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toCBOR ∷ UnitInterval → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy UnitInterval → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UnitInterval] → Size #

ToCBOR ProtVer 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

toCBOR ∷ ProtVer → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ProtVer → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ProtVer] → Size #

ToCBOR Likelihood 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

toCBOR ∷ Likelihood → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Likelihood → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Likelihood] → Size #

ToCBOR Ptr 
Instance details

Defined in Shelley.Spec.Ledger.Credential

Methods

toCBOR ∷ Ptr → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Ptr → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Ptr] → Size #

ToCBOR Nonce 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toCBOR ∷ Nonce → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Nonce → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Nonce] → Size #

ToCBOR ValidityInterval 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Methods

toCBOR ∷ ValidityInterval → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ValidityInterval → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ValidityInterval] → Size #

ToCBOR AssetName 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toCBOR ∷ AssetName → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy AssetName → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [AssetName] → Size #

ToCBOR Desirability 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

toCBOR ∷ Desirability → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Desirability → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Desirability] → Size #

ToCBOR StakePoolRelay 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ StakePoolRelay → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy StakePoolRelay → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [StakePoolRelay] → Size #

ToCBOR PoolMetadata 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ PoolMetadata → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy PoolMetadata → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PoolMetadata] → Size #

ToCBOR Network 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toCBOR ∷ Network → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Network → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Network] → Size #

ToCBOR Seed 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toCBOR ∷ Seed → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Seed → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Seed] → Size #

ToCBOR Metadatum 
Instance details

Defined in Shelley.Spec.Ledger.Metadata

Methods

toCBOR ∷ Metadatum → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Metadatum → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Metadatum] → Size #

ToCBOR ByronHash 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.Block

Methods

toCBOR ∷ ByronHash → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ByronHash → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ByronHash] → Size #

ToCBOR KESPeriod 
Instance details

Defined in Shelley.Spec.Ledger.OCert

Methods

toCBORKESPeriod → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy KESPeriod → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [KESPeriod] → Size #

ToCBOR ActiveSlotCoeff 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toCBOR ∷ ActiveSlotCoeff → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ActiveSlotCoeff → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ActiveSlotCoeff] → Size #

ToCBOR EpochAndSlotCount 
Instance details

Defined in Cardano.Chain.Slotting.EpochAndSlotCount

Methods

toCBOR ∷ EpochAndSlotCount → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy EpochAndSlotCount → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [EpochAndSlotCount] → Size #

ToCBOR EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

toCBOR ∷ EpochNumber → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy EpochNumber → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [EpochNumber] → Size #

ToCBOR EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

toCBOREpochSlots → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy EpochSlots → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [EpochSlots] → Size #

ToCBOR SlotCount 
Instance details

Defined in Cardano.Chain.Slotting.SlotCount

Methods

toCBOR ∷ SlotCount → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SlotCount → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SlotCount] → Size #

ToCBOR SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

toCBOR ∷ SlotNumber → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SlotNumber → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SlotNumber] → Size #

ToCBOR CompactAddress 
Instance details

Defined in Cardano.Chain.Common.Compact

Methods

toCBOR ∷ CompactAddress → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy CompactAddress → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactAddress] → Size #

ToCBOR ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

Methods

toCBOR ∷ ProtocolParameters → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ProtocolParameters → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ProtocolParameters] → Size #

ToCBOR ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Methods

toCBOR ∷ ProtocolVersion → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ProtocolVersion → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ProtocolVersion] → Size #

ToCBOR ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toCBOR ∷ ProtocolMagicId → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ProtocolMagicId → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ProtocolMagicId] → Size #

ToCBOR Certificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

toCBOR ∷ Certificate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Certificate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Certificate] → Size #

ToCBOR SigningKey 
Instance details

Defined in Cardano.Crypto.Signing.SigningKey

Methods

toCBOR ∷ SigningKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SigningKey → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey] → Size #

ToCBOR SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

toCBOR ∷ SoftwareVersion → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SoftwareVersion → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SoftwareVersion] → Size #

ToCBOR VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

toCBOR ∷ VerificationKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy VerificationKey → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey] → Size #

ToCBOR KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

toCBOR ∷ KeyHash → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy KeyHash → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [KeyHash] → Size #

ToCBOR GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Methods

toCBOR ∷ GenesisHash → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy GenesisHash → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [GenesisHash] → Size #

ToCBOR CandidateProtocolUpdate 
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Methods

toCBOR ∷ CandidateProtocolUpdate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy CandidateProtocolUpdate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CandidateProtocolUpdate] → Size #

ToCBOR Endorsement 
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Methods

toCBOR ∷ Endorsement → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Endorsement → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Endorsement] → Size #

ToCBOR ApplyMempoolPayloadErr 
Instance details

Defined in Cardano.Chain.Byron.API.Mempool

Methods

toCBORApplyMempoolPayloadErr → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ApplyMempoolPayloadErr → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ApplyMempoolPayloadErr] → Size #

ToCBOR Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toCBOR ∷ Tx → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Tx → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Tx] → Size #

ToCBOR Proposal 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toCBOR ∷ Proposal → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Proposal → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Proposal] → Size #

ToCBOR Vote 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

toCBOR ∷ Vote → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Vote → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Vote] → Size #

ToCBOR ChainValidationState 
Instance details

Defined in Cardano.Chain.Block.Validation

Methods

toCBOR ∷ ChainValidationState → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ChainValidationState → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ChainValidationState] → Size #

ToCBOR Map 
Instance details

Defined in Cardano.Chain.Delegation.Map

Methods

toCBOR ∷ Map → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Map → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Map] → Size #

ToCBOR ScheduledDelegation 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Scheduling

Methods

toCBOR ∷ ScheduledDelegation → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ScheduledDelegation → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ScheduledDelegation] → Size #

ToCBOR State 
Instance details

Defined in Cardano.Chain.Update.Validation.Interface

Methods

toCBOR ∷ State → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy State → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [State] → Size #

ToCBOR UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

toCBOR ∷ UTxO → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy UTxO → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UTxO] → Size #

ToCBOR Error 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Scheduling

Methods

toCBOR ∷ Error → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Error → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Error] → Size #

ToCBOR ToSign 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toCBOR ∷ ToSign → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ToSign → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ToSign] → Size #

ToCBOR Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

toCBOR ∷ Lovelace → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Lovelace → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Lovelace] → Size #

ToCBOR Point 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

toCBOR ∷ Point → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Point → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Point] → Size #

ToCBOR Proof 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR ∷ Proof → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Proof → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Proof] → Size #

ToCBOR SignKey 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR ∷ SignKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SignKey → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKey] → Size #

ToCBOR VerKey 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR ∷ VerKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy VerKey → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKey] → Size #

ToCBOR RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

toCBOR ∷ RedeemVerificationKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy RedeemVerificationKey → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RedeemVerificationKey] → Size #

ToCBOR RedeemSigningKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.SigningKey

Methods

toCBOR ∷ RedeemSigningKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy RedeemSigningKey → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RedeemSigningKey] → Size #

ToCBOR ChainDifficulty 
Instance details

Defined in Cardano.Chain.Common.ChainDifficulty

Methods

toCBOR ∷ ChainDifficulty → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ChainDifficulty → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ChainDifficulty] → Size #

ToCBOR Proof 
Instance details

Defined in Cardano.Chain.Block.Proof

Methods

toCBOR ∷ Proof → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Proof → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Proof] → Size #

ToCBOR SscPayload 
Instance details

Defined in Cardano.Chain.Ssc

Methods

toCBOR ∷ SscPayload → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SscPayload → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SscPayload] → Size #

ToCBOR ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toCBOR ∷ ProposalBody → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ProposalBody → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ProposalBody] → Size #

ToCBOR TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toCBOR ∷ TxInWitness → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxInWitness → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxInWitness] → Size #

ToCBOR Body 
Instance details

Defined in Cardano.Chain.Block.Body

Methods

toCBOR ∷ Body → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Body → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Body] → Size #

ToCBOR TxPayload 
Instance details

Defined in Cardano.Chain.UTxO.TxPayload

Methods

toCBOR ∷ TxPayload → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxPayload → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxPayload] → Size #

ToCBOR Payload 
Instance details

Defined in Cardano.Chain.Delegation.Payload

Methods

toCBOR ∷ Payload → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Payload → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Payload] → Size #

ToCBOR Payload 
Instance details

Defined in Cardano.Chain.Update.Payload

Methods

toCBOR ∷ Payload → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Payload → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Payload] → Size #

ToCBOR BlockSignature 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toCBOR ∷ BlockSignature → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy BlockSignature → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BlockSignature] → Size #

ToCBOR TxProof 
Instance details

Defined in Cardano.Chain.UTxO.TxProof

Methods

toCBOR ∷ TxProof → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxProof → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxProof] → Size #

ToCBOR SscProof 
Instance details

Defined in Cardano.Chain.Ssc

Methods

toCBOR ∷ SscProof → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SscProof → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SscProof] → Size #

ToCBOR CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Methods

toCBOR ∷ CompactTxIn → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy CompactTxIn → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactTxIn] → Size #

ToCBOR CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Methods

toCBOR ∷ CompactTxOut → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy CompactTxOut → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactTxOut] → Size #

ToCBOR State 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Interface

Methods

toCBOR ∷ State → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy State → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [State] → Size #

ToCBOR UTxOValidationError 
Instance details

Defined in Cardano.Chain.UTxO.Validation

Methods

toCBOR ∷ UTxOValidationError → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy UTxOValidationError → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UTxOValidationError] → Size #

ToCBOR BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

Methods

toCBOR ∷ BlockCount → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy BlockCount → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BlockCount] → Size #

ToCBOR ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Methods

toCBOR ∷ ApplicationName → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ApplicationName → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ApplicationName] → Size #

ToCBOR ApplicationVersion 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

toCBOR ∷ ApplicationVersion → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ApplicationVersion → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ApplicationVersion] → Size #

ToCBOR ProtocolUpdateProposal 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

toCBOR ∷ ProtocolUpdateProposal → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ProtocolUpdateProposal → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ProtocolUpdateProposal] → Size #

ToCBOR SoftwareUpdateProposal 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

toCBOR ∷ SoftwareUpdateProposal → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SoftwareUpdateProposal → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SoftwareUpdateProposal] → Size #

ToCBOR Error 
Instance details

Defined in Cardano.Chain.Update.Validation.Interface

Methods

toCBOR ∷ Error → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Error → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Error] → Size #

ToCBOR HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toCBOR ∷ HDAddressPayload → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy HDAddressPayload → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [HDAddressPayload] → Size #

ToCBOR NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

toCBOR ∷ NetworkMagic → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy NetworkMagic → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [NetworkMagic] → Size #

ToCBOR AddrSpendingData 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

toCBOR ∷ AddrSpendingData → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy AddrSpendingData → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [AddrSpendingData] → Size #

ToCBOR AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

toCBOR ∷ AddrType → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy AddrType → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [AddrType] → Size #

ToCBOR Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toCBOR ∷ Address → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Address → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Address] → Size #

ToCBOR Address' 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toCBOR ∷ Address' → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Address' → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Address'] → Size #

ToCBOR LovelaceError 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

toCBOR ∷ LovelaceError → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy LovelaceError → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LovelaceError] → Size #

ToCBOR LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Methods

toCBOR ∷ LovelacePortion → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy LovelacePortion → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LovelacePortion] → Size #

ToCBOR TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

toCBOR ∷ TxFeePolicy → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxFeePolicy → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxFeePolicy] → Size #

ToCBOR TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Methods

toCBOR ∷ TxSizeLinear → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxSizeLinear → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxSizeLinear] → Size #

ToCBOR State 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Activation

Methods

toCBOR ∷ State → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy State → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [State] → Size #

ToCBOR State 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Scheduling

Methods

toCBOR ∷ State → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy State → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [State] → Size #

ToCBOR CompactTxId 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Methods

toCBOR ∷ CompactTxId → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy CompactTxId → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactTxId] → Size #

ToCBOR TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toCBOR ∷ TxIn → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxIn → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxIn] → Size #

ToCBOR TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toCBOR ∷ TxOut → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxOut → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxOut] → Size #

ToCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toCBOR ∷ TxAux → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxAux → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxAux] → Size #

ToCBOR TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toCBOR ∷ TxSigData → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxSigData → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxSigData] → Size #

ToCBOR UTxOError 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

toCBOR ∷ UTxOError → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy UTxOError → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UTxOError] → Size #

ToCBOR ApplicationNameError 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Methods

toCBOR ∷ ApplicationNameError → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ApplicationNameError → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ApplicationNameError] → Size #

ToCBOR InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Methods

toCBOR ∷ InstallerHash → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy InstallerHash → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [InstallerHash] → Size #

ToCBOR SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toCBOR ∷ SystemTag → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SystemTag → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SystemTag] → Size #

ToCBOR ProtocolParametersUpdate 
Instance details

Defined in Cardano.Chain.Update.ProtocolParametersUpdate

Methods

toCBOR ∷ ProtocolParametersUpdate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ProtocolParametersUpdate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ProtocolParametersUpdate] → Size #

ToCBOR SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

toCBOR ∷ SoftforkRule → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SoftforkRule → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SoftforkRule] → Size #

ToCBOR SoftwareVersionError 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

toCBOR ∷ SoftwareVersionError → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SoftwareVersionError → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SoftwareVersionError] → Size #

ToCBOR SystemTagError 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toCBOR ∷ SystemTagError → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SystemTagError → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SystemTagError] → Size #

ToCBOR Error 
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Methods

toCBOR ∷ Error → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Error → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Error] → Size #

ToCBOR Error 
Instance details

Defined in Cardano.Chain.Update.Validation.Voting

Methods

toCBOR ∷ Error → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Error → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Error] → Size #

ToCBOR Error 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

toCBOR ∷ Error → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Error → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Error] → Size #

ToCBOR Adopted 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

toCBOR ∷ Adopted → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Adopted → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Adopted] → Size #

ToCBOR TicknState 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Methods

toCBOR ∷ TicknState → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TicknState → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TicknState] → Size #

ToCBOR ChainCode 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

toCBOR ∷ ChainCode → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy ChainCode → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ChainCode] → Size #

ToCBOR DnsName 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toCBOR ∷ DnsName → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy DnsName → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [DnsName] → Size #

ToCBOR Port 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toCBOR ∷ Port → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Port → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Port] → Size #

ToCBOR Url 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toCBOR ∷ Url → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Url → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Url] → Size #

ToCBOR DeltaCoin 
Instance details

Defined in Shelley.Spec.Ledger.Coin

Methods

toCBOR ∷ DeltaCoin → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy DeltaCoin → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [DeltaCoin] → Size #

ToCBOR AccountState 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ AccountState → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy AccountState → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [AccountState] → Size #

ToCBOR LogWeight 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

toCBOR ∷ LogWeight → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy LogWeight → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LogWeight] → Size #

ToCBOR MIRPot 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ MIRPot → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy MIRPot → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [MIRPot] → Size #

ToCBOR PerformanceEstimate 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

toCBOR ∷ PerformanceEstimate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy PerformanceEstimate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PerformanceEstimate] → Size #

ToCBOR RewardType 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

toCBOR ∷ RewardType → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy RewardType → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RewardType] → Size #

ToCBOR VotingPeriod 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ppup

Methods

toCBOR ∷ VotingPeriod → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy VotingPeriod → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VotingPeriod] → Size #

ToCBOR SizeOfPoolOwners 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ SizeOfPoolOwners → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SizeOfPoolOwners → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SizeOfPoolOwners] → Size #

ToCBOR SizeOfPoolRelays 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ SizeOfPoolRelays → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy SizeOfPoolRelays → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SizeOfPoolRelays] → Size #

ToCBOR TxValidationError 
Instance details

Defined in Cardano.Chain.UTxO.Validation

Methods

toCBOR ∷ TxValidationError → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TxValidationError → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxValidationError] → Size #

ToCBOR Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

Methods

toCBORCertificate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy Certificate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Certificate] → Size #

ToCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Methods

toCBOROperationalCertificateIssueCounter → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy OperationalCertificateIssueCounter → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OperationalCertificateIssueCounter] → Size #

ToCBOR OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Methods

toCBOROperationalCertificate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy OperationalCertificate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OperationalCertificate] → Size #

ToCBOR a ⇒ ToCBOR [a] 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR ∷ [a] → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [a] → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [[a]] → Size #

ToCBOR a ⇒ ToCBOR (Maybe a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORMaybe a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Maybe a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Maybe a] → Size #

ToCBOR a ⇒ ToCBOR (Ratio a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORRatio a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Ratio a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Ratio a] → Size #

(Ord a, ToCBOR a) ⇒ ToCBOR (Set a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORSet a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Set a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Set a] → Size #

ToCBOR a ⇒ ToCBOR (NonEmpty a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORNonEmpty a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (NonEmpty a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [NonEmpty a] → Size #

(Serialise t, Typeable t) ⇒ ToCBOR (WithOrigin t) 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toCBOR ∷ WithOrigin t → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (WithOrigin t) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [WithOrigin t] → Size #

ToCBOR a ⇒ ToCBOR (Vector a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR ∷ Vector a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Vector a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Vector a] → Size #

Typeable xs ⇒ ToCBOR (LengthOf xs) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR ∷ LengthOf xs → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (LengthOf xs) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LengthOf xs] → Size #

ToCBOR (SigDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Cardano.Api.Crypto.Ed25519Bip32

Methods

toCBORSigDSIGN Ed25519Bip32DSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigDSIGN Ed25519Bip32DSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigDSIGN Ed25519Bip32DSIGN] → Size #

ToCBOR (SigDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

toCBORSigDSIGN Ed25519DSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigDSIGN Ed25519DSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigDSIGN Ed25519DSIGN] → Size #

ToCBOR (SigDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

toCBORSigDSIGN MockDSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigDSIGN MockDSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigDSIGN MockDSIGN] → Size #

ToCBOR (SigDSIGN Ed448DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Methods

toCBORSigDSIGN Ed448DSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigDSIGN Ed448DSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigDSIGN Ed448DSIGN] → Size #

ToCBOR (SignKeyDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Cardano.Api.Crypto.Ed25519Bip32

Methods

toCBORSignKeyDSIGN Ed25519Bip32DSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyDSIGN Ed25519Bip32DSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyDSIGN Ed25519Bip32DSIGN] → Size #

ToCBOR (SignKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

toCBORSignKeyDSIGN Ed25519DSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyDSIGN Ed25519DSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyDSIGN Ed25519DSIGN] → Size #

ToCBOR (SignKeyDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

toCBORSignKeyDSIGN MockDSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyDSIGN MockDSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyDSIGN MockDSIGN] → Size #

ToCBOR (SignKeyDSIGN Ed448DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Methods

toCBORSignKeyDSIGN Ed448DSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyDSIGN Ed448DSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyDSIGN Ed448DSIGN] → Size #

ToCBOR (VerKeyDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Cardano.Api.Crypto.Ed25519Bip32

Methods

toCBORVerKeyDSIGN Ed25519Bip32DSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyDSIGN Ed25519Bip32DSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyDSIGN Ed25519Bip32DSIGN] → Size #

ToCBOR (VerKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

toCBORVerKeyDSIGN Ed25519DSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyDSIGN Ed25519DSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyDSIGN Ed25519DSIGN] → Size #

ToCBOR (VerKeyDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

toCBORVerKeyDSIGN MockDSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyDSIGN MockDSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyDSIGN MockDSIGN] → Size #

ToCBOR (VerKeyDSIGN Ed448DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Methods

toCBORVerKeyDSIGN Ed448DSIGN → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyDSIGN Ed448DSIGN) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyDSIGN Ed448DSIGN] → Size #

Crypto crypto ⇒ ToCBOR (ScriptHash crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Scripts

Methods

toCBOR ∷ ScriptHash crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ScriptHash crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ScriptHash crypto] → Size #

ToCBOR a ⇒ ToCBOR (StrictMaybe a) 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toCBOR ∷ StrictMaybe a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (StrictMaybe a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [StrictMaybe a] → Size #

Crypto crypto ⇒ ToCBOR (BootstrapWitness crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

toCBOR ∷ BootstrapWitness crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (BootstrapWitness crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BootstrapWitness crypto] → Size #

Crypto crypto ⇒ ToCBOR (Addr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Address

Methods

toCBOR ∷ Addr crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Addr crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Addr crypto] → Size #

(Era era, ToCBOR (PParamsDelta era)) ⇒ ToCBOR (PPUPState era) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ PPUPState era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PPUPState era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PPUPState era] → Size #

Era era ⇒ ToCBOR (PParams era) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

toCBOR ∷ PParams era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PParams era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PParams era] → Size #

Era era ⇒ ToCBOR (PParamsUpdate era) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

toCBOR ∷ PParamsUpdate era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PParamsUpdate era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PParamsUpdate era] → Size #

Typeable era ⇒ ToCBOR (TxBody era) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

toCBOR ∷ TxBody era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (TxBody era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxBody era] → Size #

(Typeable era, TransEpoch ToCBOR era) ⇒ ToCBOR (NewEpochState era) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ NewEpochState era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (NewEpochState era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [NewEpochState era] → Size #

(Era era, TransTxOut ToCBOR era) ⇒ ToCBOR (TxOut era) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ TxOut era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (TxOut era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxOut era] → Size #

Crypto crypto ⇒ ToCBOR (BHeader crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

toCBOR ∷ BHeader crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (BHeader crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BHeader crypto] → Size #

Typeable era ⇒ ToCBOR (AuxiliaryData era) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.AuxiliaryData

Methods

toCBOR ∷ AuxiliaryData era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (AuxiliaryData era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [AuxiliaryData era] → Size #

(Era era, TransBlock ToCBOR era) ⇒ ToCBOR (Block era) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

toCBOR ∷ Block era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Block era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Block era] → Size #

Typeable crypto ⇒ ToCBOR (Timelock crypto) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Methods

toCBOR ∷ Timelock crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Timelock crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Timelock crypto] → Size #

(ShelleyBased era, ToCBOR (PredicateFailure (EraRule "LEDGERS" era))) ⇒ ToCBOR (ApplyTxError era) 
Instance details

Defined in Shelley.Spec.Ledger.API.Mempool

Methods

toCBOR ∷ ApplyTxError era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ApplyTxError era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ApplyTxError era] → Size #

(Era era, TransLedgerState ToCBOR era) ⇒ ToCBOR (LedgerState era) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ LedgerState era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (LedgerState era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LedgerState era] → Size #

Typeable era ⇒ ToCBOR (Tx era) 
Instance details

Defined in Shelley.Spec.Ledger.Tx

Methods

toCBOR ∷ Tx era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Tx era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Tx era] → Size #

(ShelleyBased era, ToCBOR (PredicateFailure (EraRule "LEDGER" era))) ⇒ ToCBOR (LedgersPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

Methods

toCBOR ∷ LedgersPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (LedgersPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LedgersPredicateFailure era] → Size #

Crypto crypto ⇒ ToCBOR (NonMyopic crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

toCBOR ∷ NonMyopic crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (NonMyopic crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [NonMyopic crypto] → Size #

Crypto crypto ⇒ ToCBOR (PState crypto) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ PState crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PState crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PState crypto] → Size #

Crypto crypto ⇒ ToCBOR (PoolParams crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ PoolParams crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PoolParams crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PoolParams crypto] → Size #

Crypto crypto ⇒ ToCBOR (InstantaneousRewards crypto) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ InstantaneousRewards crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (InstantaneousRewards crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [InstantaneousRewards crypto] → Size #

Crypto crypto ⇒ ToCBOR (SnapShots crypto) 
Instance details

Defined in Shelley.Spec.Ledger.EpochBoundary

Methods

toCBOR ∷ SnapShots crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SnapShots crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SnapShots crypto] → Size #

Crypto crypto ⇒ ToCBOR (SnapShot crypto) 
Instance details

Defined in Shelley.Spec.Ledger.EpochBoundary

Methods

toCBOR ∷ SnapShot crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SnapShot crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SnapShot crypto] → Size #

Era era ⇒ ToCBOR (ShelleyGenesis era) 
Instance details

Defined in Shelley.Spec.Ledger.Genesis

Methods

toCBORShelleyGenesis era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ShelleyGenesis era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ShelleyGenesis era] → Size #

Crypto crypto ⇒ ToCBOR (ChainDepState crypto) 
Instance details

Defined in Shelley.Spec.Ledger.API.Protocol

Methods

toCBOR ∷ ChainDepState crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ChainDepState crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ChainDepState crypto] → Size #

Crypto crypto ⇒ ToCBOR (GenDelegPair crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

toCBOR ∷ GenDelegPair crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (GenDelegPair crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [GenDelegPair crypto] → Size #

Crypto crypto ⇒ ToCBOR (BlocksMade crypto) 
Instance details

Defined in Shelley.Spec.Ledger.EpochBoundary

Methods

toCBOR ∷ BlocksMade crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (BlocksMade crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BlocksMade crypto] → Size #

TransEpoch ToCBOR era ⇒ ToCBOR (EpochState era) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ EpochState era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (EpochState era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [EpochState era] → Size #

Crypto crypto ⇒ ToCBOR (PulsingRewUpdate crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ PulsingRewUpdate crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PulsingRewUpdate crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PulsingRewUpdate crypto] → Size #

Crypto crypto ⇒ ToCBOR (PoolDistr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Delegation.Certificates

Methods

toCBOR ∷ PoolDistr crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PoolDistr crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PoolDistr crypto] → Size #

(Era era, ToCBOR (TxOut era)) ⇒ ToCBOR (UTxO era) 
Instance details

Defined in Shelley.Spec.Ledger.UTxO

Methods

toCBOR ∷ UTxO era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (UTxO era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UTxO era] → Size #

Crypto crypto ⇒ ToCBOR (FutureGenDeleg crypto) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ FutureGenDeleg crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (FutureGenDeleg crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [FutureGenDeleg crypto] → Size #

Crypto crypto ⇒ ToCBOR (DState crypto) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ DState crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (DState crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [DState crypto] → Size #

Crypto crypto ⇒ ToCBOR (IndividualPoolStake crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Delegation.Certificates

Methods

toCBOR ∷ IndividualPoolStake crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (IndividualPoolStake crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [IndividualPoolStake crypto] → Size #

Crypto crypto ⇒ ToCBOR (Value crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toCBOR ∷ Value crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Value crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Value crypto] → Size #

Crypto crypto ⇒ ToCBOR (PolicyID crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toCBOR ∷ PolicyID crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PolicyID crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PolicyID crypto] → Size #

Crypto crypto ⇒ ToCBOR (RewardProvenance crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

toCBOR ∷ RewardProvenance crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (RewardProvenance crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RewardProvenance crypto] → Size #

Crypto crypto ⇒ ToCBOR (RewardProvenancePool crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

toCBOR ∷ RewardProvenancePool crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (RewardProvenancePool crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RewardProvenancePool crypto] → Size #

Crypto crypto ⇒ ToCBOR (RewardAcnt crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Address

Methods

toCBOR ∷ RewardAcnt crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (RewardAcnt crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RewardAcnt crypto] → Size #

DSIGNAlgorithm d ⇒ ToCBOR (SigKES (SingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.Single

Methods

toCBOR ∷ SigKES (SingleKES d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigKES (SingleKES d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigKES (SingleKES d)] → Size #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ ToCBOR (SigKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

toCBOR ∷ SigKES (SumKES h d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigKES (SumKES h d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigKES (SumKES h d)] → Size #

KnownNat t ⇒ ToCBOR (SigKES (MockKES t)) 
Instance details

Defined in Cardano.Crypto.KES.Mock

Methods

toCBOR ∷ SigKES (MockKES t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (SigKES (MockKES t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [SigKES (MockKES t)] → Size #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ ToCBOR (SigKES (SimpleKES d t)) 
Instance details

Defined in Cardano.Crypto.KES.Simple

Methods

toCBOR ∷ SigKES (SimpleKES d t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (SigKES (SimpleKES d t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [SigKES (SimpleKES d t)] → Size #

DSIGNAlgorithm d ⇒ ToCBOR (VerKeyKES (SingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.Single

Methods

toCBOR ∷ VerKeyKES (SingleKES d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyKES (SingleKES d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyKES (SingleKES d)] → Size #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ ToCBOR (VerKeyKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

toCBOR ∷ VerKeyKES (SumKES h d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyKES (SumKES h d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyKES (SumKES h d)] → Size #

KnownNat t ⇒ ToCBOR (VerKeyKES (MockKES t)) 
Instance details

Defined in Cardano.Crypto.KES.Mock

Methods

toCBOR ∷ VerKeyKES (MockKES t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (VerKeyKES (MockKES t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [VerKeyKES (MockKES t)] → Size #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ ToCBOR (VerKeyKES (SimpleKES d t)) 
Instance details

Defined in Cardano.Crypto.KES.Simple

Methods

toCBOR ∷ VerKeyKES (SimpleKES d t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (VerKeyKES (SimpleKES d t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [VerKeyKES (SimpleKES d t)] → Size #

DSIGNAlgorithm d ⇒ ToCBOR (SignKeyKES (SingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.Single

Methods

toCBOR ∷ SignKeyKES (SingleKES d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyKES (SingleKES d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyKES (SingleKES d)] → Size #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ ToCBOR (SignKeyKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

toCBOR ∷ SignKeyKES (SumKES h d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyKES (SumKES h d)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyKES (SumKES h d)] → Size #

KnownNat t ⇒ ToCBOR (SignKeyKES (MockKES t)) 
Instance details

Defined in Cardano.Crypto.KES.Mock

Methods

toCBOR ∷ SignKeyKES (MockKES t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (SignKeyKES (MockKES t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [SignKeyKES (MockKES t)] → Size #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ ToCBOR (SignKeyKES (SimpleKES d t)) 
Instance details

Defined in Cardano.Crypto.KES.Simple

Methods

toCBOR ∷ SignKeyKES (SimpleKES d t) → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (SignKeyKES (SimpleKES d t)) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [SignKeyKES (SimpleKES d t)] → Size #

Crypto crypto ⇒ ToCBOR (BHBody crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

toCBOR ∷ BHBody crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (BHBody crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BHBody crypto] → Size #

Era era ⇒ ToCBOR (TxBody era) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ TxBody era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (TxBody era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxBody era] → Size #

Typeable era ⇒ ToCBOR (Metadata era) 
Instance details

Defined in Shelley.Spec.Ledger.Metadata

Methods

toCBOR ∷ Metadata era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Metadata era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Metadata era] → Size #

Typeable crypto ⇒ ToCBOR (MultiSig crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Scripts

Methods

toCBOR ∷ MultiSig crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (MultiSig crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [MultiSig crypto] → Size #

Crypto crypto ⇒ ToCBOR (CompactAddr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.CompactAddr

Methods

toCBOR ∷ CompactAddr crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CompactAddr crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactAddr crypto] → Size #

ToCBOR (CompactForm Coin) 
Instance details

Defined in Shelley.Spec.Ledger.Coin

Methods

toCBOR ∷ CompactForm Coin → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CompactForm Coin) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactForm Coin] → Size #

Crypto crypto ⇒ ToCBOR (CompactForm (Value crypto)) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toCBOR ∷ CompactForm (Value crypto) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CompactForm (Value crypto)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactForm (Value crypto)] → Size #

ShelleyBasedEra era ⇒ ToCBOR (Header (ShelleyBlock era)) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Methods

toCBOR ∷ Header (ShelleyBlock era) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Header (ShelleyBlock era)) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Header (ShelleyBlock era)] → Size #

ShelleyBasedEra era ⇒ ToCBOR (ShelleyBlock era) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Methods

toCBOR ∷ ShelleyBlock era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ShelleyBlock era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ShelleyBlock era] → Size #

Crypto c ⇒ ToCBOR (ShelleyHash c) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Methods

toCBOR ∷ ShelleyHash c → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ShelleyHash c) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ShelleyHash c] → Size #

Era era ⇒ ToCBOR (CompactGenesis era) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Config

Methods

toCBOR ∷ CompactGenesis era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CompactGenesis era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactGenesis era] → Size #

Crypto crypto ⇒ ToCBOR (OCert crypto) 
Instance details

Defined in Shelley.Spec.Ledger.OCert

Methods

toCBOR ∷ OCert crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (OCert crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OCert crypto] → Size #

ToCBOR (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR ∷ SignKeyVRF PraosVRF → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyVRF PraosVRF) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyVRF PraosVRF] → Size #

ToCBOR (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Methods

toCBOR ∷ SignKeyVRF MockVRF → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyVRF MockVRF) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyVRF MockVRF] → Size #

ToCBOR (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

toCBOR ∷ SignKeyVRF SimpleVRF → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SignKeyVRF SimpleVRF) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SignKeyVRF SimpleVRF] → Size #

ToCBOR (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR ∷ VerKeyVRF PraosVRF → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyVRF PraosVRF) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyVRF PraosVRF] → Size #

ToCBOR (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Methods

toCBOR ∷ VerKeyVRF MockVRF → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyVRF MockVRF) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyVRF MockVRF] → Size #

ToCBOR (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

toCBOR ∷ VerKeyVRF SimpleVRF → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerKeyVRF SimpleVRF) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerKeyVRF SimpleVRF] → Size #

Crypto crypto ⇒ ToCBOR (PrtclState crypto) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Prtcl

Methods

toCBOR ∷ PrtclState crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PrtclState crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PrtclState crypto] → Size #

Typeable v ⇒ ToCBOR (OutputVRF v) 
Instance details

Defined in Cardano.Crypto.VRF.Class

Methods

toCBOR ∷ OutputVRF v → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (OutputVRF v) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OutputVRF v] → Size #

Crypto crypto ⇒ ToCBOR (ShelleyGenesisStaking crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Genesis

Methods

toCBOR ∷ ShelleyGenesisStaking crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ShelleyGenesisStaking crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ShelleyGenesisStaking crypto] → Size #

Crypto crypto ⇒ ToCBOR (PrevHash crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

toCBOR ∷ PrevHash crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PrevHash crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PrevHash crypto] → Size #

Crypto crypto ⇒ ToCBOR (HashHeader crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

toCBOR ∷ HashHeader crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (HashHeader crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [HashHeader crypto] → Size #

TransUTxOState ToCBOR era ⇒ ToCBOR (UTxOState era) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ UTxOState era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (UTxOState era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UTxOState era] → Size #

Crypto crypto ⇒ ToCBOR (DPState crypto) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

toCBOR ∷ DPState crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (DPState crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [DPState crypto] → Size #

(Era era, ToCBOR (PParamsDelta era)) ⇒ ToCBOR (ProposedPPUpdates era) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

toCBOR ∷ ProposedPPUpdates era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ProposedPPUpdates era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ProposedPPUpdates era] → Size #

(Era era, ToCBOR (PParamsDelta era)) ⇒ ToCBOR (Update era) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

toCBOR ∷ Update era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Update era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Update era] → Size #

Crypto crypto ⇒ ToCBOR (TxIn crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ TxIn crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (TxIn crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxIn crypto] → Size #

Typeable t ⇒ ToCBOR (MemoBytes t) 
Instance details

Defined in Data.MemoBytes

Methods

toCBOR ∷ MemoBytes t → Encoding #

encodedSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy (MemoBytes t) → Size #

encodedListSizeExpr ∷ (∀ t0. ToCBOR t0 ⇒ Proxy t0 → Size) → Proxy [MemoBytes t] → Size #

Crypto crypto ⇒ ToCBOR (TxId crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ TxId crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (TxId crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxId crypto] → Size #

ToCBOR (CertVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

toCBOR ∷ CertVRF PraosVRF → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CertVRF PraosVRF) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CertVRF PraosVRF] → Size #

ToCBOR (CertVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Methods

toCBOR ∷ CertVRF MockVRF → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CertVRF MockVRF) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CertVRF MockVRF] → Size #

ToCBOR (CertVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

toCBOR ∷ CertVRF SimpleVRF → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CertVRF SimpleVRF) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CertVRF SimpleVRF] → Size #

Typeable a ⇒ ToCBOR (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

Methods

toCBOR ∷ RedeemSignature a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (RedeemSignature a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RedeemSignature a] → Size #

Typeable a ⇒ ToCBOR (Signature a) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Methods

toCBOR ∷ Signature a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Signature a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Signature a] → Size #

ToCBOR (Attributes ()) 
Instance details

Defined in Cardano.Chain.Common.Attributes

Methods

toCBOR ∷ Attributes () → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Attributes ()) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Attributes ()] → Size #

ToCBOR (Attributes AddrAttributes) 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toCBOR ∷ Attributes AddrAttributes → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Attributes AddrAttributes) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Attributes AddrAttributes] → Size #

ToCBOR a ⇒ ToCBOR (MerkleRoot a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

Methods

toCBOR ∷ MerkleRoot a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (MerkleRoot a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [MerkleRoot a] → Size #

ToCBOR a ⇒ ToCBOR (MerkleTree a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

Methods

toCBOR ∷ MerkleTree a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (MerkleTree a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [MerkleTree a] → Size #

ToCBOR n ⇒ ToCBOR (TooLarge n) 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

toCBOR ∷ TooLarge n → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (TooLarge n) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TooLarge n] → Size #

Crypto crypto ⇒ ToCBOR (CompactValue crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

toCBOR ∷ CompactValue crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CompactValue crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CompactValue crypto] → Size #

(TransValue ToCBOR era, TransUTxOState ToCBOR era, ToCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ ToCBOR (UtxoPredicateFailure era) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Rules.Utxo

Methods

toCBOR ∷ UtxoPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (UtxoPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UtxoPredicateFailure era] → Size #

(Typeable era, Era era) ⇒ ToCBOR (PpupPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ppup

Methods

toCBOR ∷ PpupPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PpupPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PpupPredicateFailure era] → Size #

Crypto crypto ⇒ ToCBOR (DCert crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ DCert crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (DCert crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [DCert crypto] → Size #

Crypto crypto ⇒ ToCBOR (Wdrl crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ Wdrl crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Wdrl crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Wdrl crypto] → Size #

(Era era, Typeable (Script era), Typeable (AuxiliaryData era), ToCBOR (PredicateFailure (EraRule "UTXO" era))) ⇒ ToCBOR (UtxowPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Utxow

Methods

toCBOR ∷ UtxowPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (UtxowPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UtxowPredicateFailure era] → Size #

Crypto crypto ⇒ ToCBOR (AuxiliaryDataHash crypto) 
Instance details

Defined in Cardano.Ledger.AuxiliaryData

Methods

toCBOR ∷ AuxiliaryDataHash crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (AuxiliaryDataHash crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [AuxiliaryDataHash crypto] → Size #

Crypto crypto ⇒ ToCBOR (GenDelegs crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

toCBOR ∷ GenDelegs crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (GenDelegs crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [GenDelegs crypto] → Size #

Crypto crypto ⇒ ToCBOR (HashBBody crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

toCBOR ∷ HashBBody crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (HashBBody crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [HashBBody crypto] → Size #

Crypto crypto ⇒ ToCBOR (LastAppliedBlock crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

toCBOR ∷ LastAppliedBlock crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (LastAppliedBlock crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LastAppliedBlock crypto] → Size #

(Era era, TransBlock ToCBOR era, Typeable era) ⇒ ToCBOR (LaxBlock era) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

toCBOR ∷ LaxBlock era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (LaxBlock era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LaxBlock era] → Size #

Crypto crypto ⇒ ToCBOR (GenesisCredential crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Credential

Methods

toCBOR ∷ GenesisCredential crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (GenesisCredential crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [GenesisCredential crypto] → Size #

ToCBORGroup a ⇒ ToCBOR (CBORGroup a) 
Instance details

Defined in Shelley.Spec.Ledger.Serialization

Methods

toCBOR ∷ CBORGroup a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CBORGroup a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CBORGroup a] → Size #

Crypto crypto ⇒ ToCBOR (MIRCert crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ MIRCert crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (MIRCert crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [MIRCert crypto] → Size #

Crypto crypto ⇒ ToCBOR (StakeCreds crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ StakeCreds crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (StakeCreds crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [StakeCreds crypto] → Size #

Crypto crypto ⇒ ToCBOR (Stake crypto) 
Instance details

Defined in Shelley.Spec.Ledger.EpochBoundary

Methods

toCBOR ∷ Stake crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Stake crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Stake crypto] → Size #

Crypto crypto ⇒ ToCBOR (RewardSnapShot crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ RewardSnapShot crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (RewardSnapShot crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RewardSnapShot crypto] → Size #

Crypto crypto ⇒ ToCBOR (RewardUpdate crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ RewardUpdate crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (RewardUpdate crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [RewardUpdate crypto] → Size #

Crypto crypto ⇒ ToCBOR (Reward crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

toCBOR ∷ Reward crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Reward crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Reward crypto] → Size #

Crypto c ⇒ ToCBOR (Pulser c) 
Instance details

Defined in Shelley.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ Pulser c → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Pulser c) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Pulser c] → Size #

Crypto crypto ⇒ ToCBOR (OBftSlot crypto) 
Instance details

Defined in Shelley.Spec.Ledger.OverlaySchedule

Methods

toCBOR ∷ OBftSlot crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (OBftSlot crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OBftSlot crypto] → Size #

Crypto crypto ⇒ ToCBOR (FreeVars crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardUpdate

Methods

toCBOR ∷ FreeVars crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (FreeVars crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [FreeVars crypto] → Size #

(Typeable era, Era era, Typeable (Script era)) ⇒ ToCBOR (DelegPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Deleg

Methods

toCBOR ∷ DelegPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (DelegPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [DelegPredicateFailure era] → Size #

(Era era, Typeable (Script era), ToCBOR (PredicateFailure (EraRule "DELPL" era))) ⇒ ToCBOR (DelegsPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

Methods

toCBOR ∷ DelegsPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (DelegsPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [DelegsPredicateFailure era] → Size #

(Era era, ToCBOR (PredicateFailure (EraRule "POOL" era)), ToCBOR (PredicateFailure (EraRule "DELEG" era)), Typeable (Script era)) ⇒ ToCBOR (DelplPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delpl

Methods

toCBOR ∷ DelplPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (DelplPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [DelplPredicateFailure era] → Size #

(Typeable era, Era era) ⇒ ToCBOR (PoolPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

Methods

toCBOR ∷ PoolPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PoolPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PoolPredicateFailure era] → Size #

(ToCBOR (PredicateFailure (EraRule "DELEGS" era)), ToCBOR (PredicateFailure (EraRule "UTXOW" era)), Era era) ⇒ ToCBOR (LedgerPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledger

Methods

toCBOR ∷ LedgerPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (LedgerPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [LedgerPredicateFailure era] → Size #

(TransUTxOState ToCBOR era, ToCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ ToCBOR (UtxoPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Utxo

Methods

toCBOR ∷ UtxoPredicateFailure era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (UtxoPredicateFailure era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [UtxoPredicateFailure era] → Size #

Crypto crypto ⇒ ToCBOR (MIRTarget crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ MIRTarget crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (MIRTarget crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [MIRTarget crypto] → Size #

(Era era, FromCBOR (Annotator (PParamsDelta era)), TransTxBody ToCBOR era) ⇒ ToCBOR (TxBodyRaw era) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ TxBodyRaw era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (TxBodyRaw era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TxBodyRaw era] → Size #

ToCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey StakePoolKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakePoolKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakePoolKey] → Size #

ToCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisUTxOKey] → Size #

ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisDelegateKey] → Size #

ToCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisExtendedKey] → Size #

ToCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisKey] → Size #

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakeExtendedKey] → Size #

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakeKey] → Size #

ToCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey PaymentExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey PaymentExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey PaymentExtendedKey] → Size #

ToCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey PaymentKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey PaymentKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey PaymentKey] → Size #

ToCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

toCBORVerificationKey VrfKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey VrfKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey VrfKey] → Size #

ToCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

toCBORVerificationKey KesKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey KesKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey KesKey] → Size #

ToCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

toCBORVerificationKey ByronKeyLegacy → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey ByronKeyLegacy) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey ByronKeyLegacy] → Size #

ToCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

toCBORVerificationKey ByronKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey ByronKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey ByronKey] → Size #

ToCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey StakePoolKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey StakePoolKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey StakePoolKey] → Size #

ToCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisUTxOKey] → Size #

ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey GenesisDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisDelegateExtendedKey] → Size #

ToCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisDelegateKey] → Size #

ToCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisExtendedKey] → Size #

ToCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisKey] → Size #

ToCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey StakeExtendedKey] → Size #

ToCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey StakeKey] → Size #

ToCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey PaymentExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey PaymentExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey PaymentExtendedKey] → Size #

ToCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey PaymentKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey PaymentKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey PaymentKey] → Size #

ToCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

toCBORSigningKey VrfKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey VrfKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey VrfKey] → Size #

ToCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

toCBORSigningKey KesKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey KesKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey KesKey] → Size #

ToCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

toCBORSigningKey ByronKeyLegacy → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey ByronKeyLegacy) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey ByronKeyLegacy] → Size #

ToCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

toCBORSigningKey ByronKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey ByronKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey ByronKey] → Size #

ToCBOR a ⇒ ToCBOR (CborSeq a) 
Instance details

Defined in Shelley.Spec.Ledger.Serialization

Methods

toCBOR ∷ CborSeq a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CborSeq a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CborSeq a] → Size #

(ToCBOR a, ToCBOR b) ⇒ ToCBOR (Either a b) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOREither a b → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Either a b) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Either a b] → Size #

(ToCBOR a, ToCBOR b) ⇒ ToCBOR (a, b) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR ∷ (a, b) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (a, b) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [(a, b)] → Size #

(Ord k, ToCBOR k, ToCBOR v) ⇒ ToCBOR (Map k v) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORMap k v → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Map k v) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Map k v] → Size #

(HashAlgorithm h, Typeable a) ⇒ ToCBOR (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

toCBOR ∷ Hash h a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash h a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash h a] → Size #

(Crypto crypto, Typeable disc) ⇒ ToCBOR (KeyHash disc crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

toCBOR ∷ KeyHash disc crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (KeyHash disc crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [KeyHash disc crypto] → Size #

(Typeable kr, Crypto crypto) ⇒ ToCBOR (Credential kr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Credential

Methods

toCBOR ∷ Credential kr crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Credential kr crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Credential kr crypto] → Size #

(Typeable index, Crypto c) ⇒ ToCBOR (SafeHash c index) 
Instance details

Defined in Cardano.Ledger.SafeHash

Methods

toCBOR ∷ SafeHash c index → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SafeHash c index) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SafeHash c index] → Size #

(Crypto crypto, Typeable kd) ⇒ ToCBOR (VKey kd crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

toCBOR ∷ VKey kd crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VKey kd crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VKey kd crypto] → Size #

(VRFAlgorithm v, Typeable a) ⇒ ToCBOR (CertifiedVRF v a) 
Instance details

Defined in Cardano.Crypto.VRF.Class

Methods

toCBOR ∷ CertifiedVRF v a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (CertifiedVRF v a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [CertifiedVRF v a] → Size #

(Typeable algo, Typeable a, HashAlgorithm algo) ⇒ ToCBOR (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

toCBOR ∷ AbstractHash algo a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (AbstractHash algo a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [AbstractHash algo a] → Size #

Era era ⇒ ToCBOR (WitnessSetHKD Identity era) 
Instance details

Defined in Shelley.Spec.Ledger.Tx

Methods

toCBOR ∷ WitnessSetHKD Identity era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (WitnessSetHKD Identity era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [WitnessSetHKD Identity era] → Size #

(Typeable kr, Crypto crypto) ⇒ ToCBOR (WitVKey kr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toCBOR ∷ WitVKey kr crypto → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (WitVKey kr crypto) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [WitVKey kr crypto] → Size #

(ToCBOR a, ToCBOR b, ToCBOR c) ⇒ ToCBOR (a, b, c) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR ∷ (a, b, c) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (a, b, c) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [(a, b, c)] → Size #

(Typeable s, ToCBOR a) ⇒ ToCBOR (Tagged s a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR ∷ Tagged s a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Tagged s a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Tagged s a] → Size #

(Ord a, Ord b, ToCBOR a, ToCBOR b) ⇒ ToCBOR (BiMap b a b) 
Instance details

Defined in Control.Iterate.SetAlgebra

Methods

toCBOR ∷ BiMap b a b → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (BiMap b a b) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BiMap b a b] → Size #

(ToCBOR a, ToCBOR b, ToCBOR c, ToCBOR d) ⇒ ToCBOR (a, b, c, d) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR ∷ (a, b, c, d) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (a, b, c, d) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [(a, b, c, d)] → Size #

(ToCBOR a, ToCBOR b, ToCBOR c, ToCBOR d, ToCBOR e) ⇒ ToCBOR (a, b, c, d, e) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR ∷ (a, b, c, d, e) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (a, b, c, d, e) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [(a, b, c, d, e)] → Size #

(ToCBOR a, ToCBOR b, ToCBOR c, ToCBOR d, ToCBOR e, ToCBOR f, ToCBOR g) ⇒ ToCBOR (a, b, c, d, e, f, g) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBOR ∷ (a, b, c, d, e, f, g) → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (a, b, c, d, e, f, g) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [(a, b, c, d, e, f, g)] → Size #

class Typeable a ⇒ FromCBOR a #

Minimal complete definition

fromCBOR

Instances

Instances details
FromCBOR Bool 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Bool #

labelProxy BoolText #

FromCBOR Float 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Float #

labelProxy FloatText #

FromCBOR Int 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Int #

labelProxy IntText #

FromCBOR Int32 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Int32 #

labelProxy Int32Text #

FromCBOR Int64 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Int64 #

labelProxy Int64Text #

FromCBOR Integer 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Integer #

labelProxy IntegerText #

FromCBOR Natural 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Natural #

labelProxy NaturalText #

FromCBOR Word 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Word #

labelProxy WordText #

FromCBOR Word8 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Word8 #

labelProxy Word8Text #

FromCBOR Word16 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Word16 #

labelProxy Word16Text #

FromCBOR Word32 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Word32 #

labelProxy Word32Text #

FromCBOR Word64 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Word64 #

labelProxy Word64Text #

FromCBOR () 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s () #

labelProxy () → Text #

FromCBOR ByteString 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s ByteString #

labelProxy ByteStringText #

FromCBOR ShortByteString 
Instance details

Defined in Cardano.Binary.FromCBOR

FromCBOR Nano 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Nano #

labelProxy NanoText #

FromCBOR Pico 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Pico #

labelProxy PicoText #

FromCBOR Void 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Void #

labelProxy VoidText #

FromCBOR Text 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s Text #

labelProxy TextText #

FromCBOR NominalDiffTime 
Instance details

Defined in Cardano.Binary.FromCBOR

FromCBOR BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Methods

fromCBOR ∷ Decoder s BlockNo #

labelProxy BlockNoText #

FromCBOR LByteString 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s LByteString #

labelProxy LByteString → Text #

FromCBOR EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR ∷ Decoder s EpochNo #

labelProxy EpochNoText #

FromCBOR SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR ∷ Decoder s SlotNo #

labelProxy SlotNoText #

FromCBOR Raw 
Instance details

Defined in Cardano.Binary.Raw

Methods

fromCBOR ∷ Decoder s Raw #

labelProxy Raw → Text #

FromCBOR Coin 
Instance details

Defined in Shelley.Spec.Ledger.Coin

Methods

fromCBOR ∷ Decoder s Coin #

labelProxy Coin → Text #

FromCBOR UnitInterval 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s UnitInterval #

labelProxy UnitInterval → Text #

FromCBOR ProtVer 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s ProtVer #

labelProxy ProtVer → Text #

FromCBOR Likelihood 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s Likelihood #

labelProxy Likelihood → Text #

FromCBOR Ptr 
Instance details

Defined in Shelley.Spec.Ledger.Credential

Methods

fromCBOR ∷ Decoder s Ptr #

labelProxy Ptr → Text #

FromCBOR Nonce 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s Nonce #

labelProxy Nonce → Text #

FromCBOR ValidityInterval 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Methods

fromCBOR ∷ Decoder s ValidityInterval #

labelProxy ValidityInterval → Text #

FromCBOR AssetName 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromCBOR ∷ Decoder s AssetName #

labelProxy AssetName → Text #

FromCBOR Desirability 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

fromCBOR ∷ Decoder s Desirability #

labelProxy Desirability → Text #

FromCBOR StakePoolRelay 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s StakePoolRelay #

labelProxy StakePoolRelay → Text #

FromCBOR PoolMetadata 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s PoolMetadata #

labelProxy PoolMetadata → Text #

FromCBOR Network 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s Network #

labelProxy Network → Text #

FromCBOR Metadatum 
Instance details

Defined in Shelley.Spec.Ledger.Metadata

Methods

fromCBOR ∷ Decoder s Metadatum #

labelProxy Metadatum → Text #

FromCBOR ByronHash 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.Block

Methods

fromCBOR ∷ Decoder s ByronHash #

labelProxy ByronHash → Text #

FromCBOR KESPeriod 
Instance details

Defined in Shelley.Spec.Ledger.OCert

Methods

fromCBOR ∷ Decoder s KESPeriod #

labelProxy KESPeriodText #

FromCBOR ActiveSlotCoeff 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s ActiveSlotCoeff #

labelProxy ActiveSlotCoeff → Text #

FromCBOR EpochAndSlotCount 
Instance details

Defined in Cardano.Chain.Slotting.EpochAndSlotCount

Methods

fromCBOR ∷ Decoder s EpochAndSlotCount #

labelProxy EpochAndSlotCount → Text #

FromCBOR EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

fromCBOR ∷ Decoder s EpochNumber #

labelProxy EpochNumber → Text #

FromCBOR EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Methods

fromCBOR ∷ Decoder s EpochSlots #

labelProxy EpochSlotsText #

FromCBOR SlotCount 
Instance details

Defined in Cardano.Chain.Slotting.SlotCount

Methods

fromCBOR ∷ Decoder s SlotCount #

labelProxy SlotCount → Text #

FromCBOR SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

fromCBOR ∷ Decoder s SlotNumber #

labelProxy SlotNumber → Text #

FromCBOR CompactAddress 
Instance details

Defined in Cardano.Chain.Common.Compact

Methods

fromCBOR ∷ Decoder s CompactAddress #

labelProxy CompactAddress → Text #

FromCBOR ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

Methods

fromCBOR ∷ Decoder s ProtocolParameters #

labelProxy ProtocolParameters → Text #

FromCBOR ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Methods

fromCBOR ∷ Decoder s ProtocolVersion #

labelProxy ProtocolVersion → Text #

FromCBOR ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

fromCBOR ∷ Decoder s ProtocolMagicId #

labelProxy ProtocolMagicId → Text #

FromCBOR Certificate 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

fromCBOR ∷ Decoder s Certificate #

labelProxy Certificate → Text #

FromCBOR SigningKey 
Instance details

Defined in Cardano.Crypto.Signing.SigningKey

Methods

fromCBOR ∷ Decoder s SigningKey #

labelProxy SigningKey → Text #

FromCBOR SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

fromCBOR ∷ Decoder s SoftwareVersion #

labelProxy SoftwareVersion → Text #

FromCBOR VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

fromCBOR ∷ Decoder s VerificationKey #

labelProxy VerificationKey → Text #

FromCBOR KeyHash 
Instance details

Defined in Cardano.Chain.Common.KeyHash

Methods

fromCBOR ∷ Decoder s KeyHash #

labelProxy KeyHash → Text #

FromCBOR GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Methods

fromCBOR ∷ Decoder s GenesisHash #

labelProxy GenesisHash → Text #

FromCBOR CandidateProtocolUpdate 
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Methods

fromCBOR ∷ Decoder s CandidateProtocolUpdate #

labelProxy CandidateProtocolUpdate → Text #

FromCBOR Endorsement 
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Methods

fromCBOR ∷ Decoder s Endorsement #

labelProxy Endorsement → Text #

FromCBOR ApplyMempoolPayloadErr 
Instance details

Defined in Cardano.Chain.Byron.API.Mempool

FromCBOR Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

fromCBOR ∷ Decoder s Tx #

labelProxy Tx → Text #

FromCBOR Proposal 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

fromCBOR ∷ Decoder s Proposal #

labelProxy Proposal → Text #

FromCBOR Vote 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

fromCBOR ∷ Decoder s Vote #

labelProxy Vote → Text #

FromCBOR ChainValidationState 
Instance details

Defined in Cardano.Chain.Block.Validation

Methods

fromCBOR ∷ Decoder s ChainValidationState #

labelProxy ChainValidationState → Text #

FromCBOR Map 
Instance details

Defined in Cardano.Chain.Delegation.Map

Methods

fromCBOR ∷ Decoder s Map #

labelProxy Map → Text #

FromCBOR ScheduledDelegation 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Scheduling

Methods

fromCBOR ∷ Decoder s ScheduledDelegation #

labelProxy ScheduledDelegation → Text #

FromCBOR State 
Instance details

Defined in Cardano.Chain.Update.Validation.Interface

Methods

fromCBOR ∷ Decoder s State #

labelProxy State → Text #

FromCBOR UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

fromCBOR ∷ Decoder s UTxO #

labelProxy UTxO → Text #

FromCBOR Error 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Scheduling

Methods

fromCBOR ∷ Decoder s Error #

labelProxy Error → Text #

FromCBOR ToSign 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

fromCBOR ∷ Decoder s ToSign #

labelProxy ToSign → Text #

FromCBOR Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

fromCBOR ∷ Decoder s Lovelace #

labelProxy Lovelace → Text #

FromCBOR Point 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

fromCBOR ∷ Decoder s Point #

labelProxy Point → Text #

FromCBOR Proof 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR ∷ Decoder s Proof #

labelProxy Proof → Text #

FromCBOR SignKey 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR ∷ Decoder s SignKey #

labelProxy SignKey → Text #

FromCBOR VerKey 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR ∷ Decoder s VerKey #

labelProxy VerKey → Text #

FromCBOR RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

fromCBOR ∷ Decoder s RedeemVerificationKey #

labelProxy RedeemVerificationKey → Text #

FromCBOR RedeemSigningKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.SigningKey

Methods

fromCBOR ∷ Decoder s RedeemSigningKey #

labelProxy RedeemSigningKey → Text #

FromCBOR ChainDifficulty 
Instance details

Defined in Cardano.Chain.Common.ChainDifficulty

Methods

fromCBOR ∷ Decoder s ChainDifficulty #

labelProxy ChainDifficulty → Text #

FromCBOR Proof 
Instance details

Defined in Cardano.Chain.Block.Proof

Methods

fromCBOR ∷ Decoder s Proof #

labelProxy Proof → Text #

FromCBOR SscPayload 
Instance details

Defined in Cardano.Chain.Ssc

Methods

fromCBOR ∷ Decoder s SscPayload #

labelProxy SscPayload → Text #

FromCBOR ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

fromCBOR ∷ Decoder s ProposalBody #

labelProxy ProposalBody → Text #

FromCBOR TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

fromCBOR ∷ Decoder s TxInWitness #

labelProxy TxInWitness → Text #

FromCBOR Body 
Instance details

Defined in Cardano.Chain.Block.Body

Methods

fromCBOR ∷ Decoder s Body #

labelProxy Body → Text #

FromCBOR TxPayload 
Instance details

Defined in Cardano.Chain.UTxO.TxPayload

Methods

fromCBOR ∷ Decoder s TxPayload #

labelProxy TxPayload → Text #

FromCBOR Payload 
Instance details

Defined in Cardano.Chain.Delegation.Payload

Methods

fromCBOR ∷ Decoder s Payload #

labelProxy Payload → Text #

FromCBOR Payload 
Instance details

Defined in Cardano.Chain.Update.Payload

Methods

fromCBOR ∷ Decoder s Payload #

labelProxy Payload → Text #

FromCBOR BlockSignature 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

fromCBOR ∷ Decoder s BlockSignature #

labelProxy BlockSignature → Text #

FromCBOR TxProof 
Instance details

Defined in Cardano.Chain.UTxO.TxProof

Methods

fromCBOR ∷ Decoder s TxProof #

labelProxy TxProof → Text #

FromCBOR SscProof 
Instance details

Defined in Cardano.Chain.Ssc

Methods

fromCBOR ∷ Decoder s SscProof #

labelProxy SscProof → Text #

FromCBOR CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Methods

fromCBOR ∷ Decoder s CompactTxIn #

labelProxy CompactTxIn → Text #

FromCBOR CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Methods

fromCBOR ∷ Decoder s CompactTxOut #

labelProxy CompactTxOut → Text #

FromCBOR State 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Interface

Methods

fromCBOR ∷ Decoder s State #

labelProxy State → Text #

FromCBOR UTxOValidationError 
Instance details

Defined in Cardano.Chain.UTxO.Validation

Methods

fromCBOR ∷ Decoder s UTxOValidationError #

labelProxy UTxOValidationError → Text #

FromCBOR BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

Methods

fromCBOR ∷ Decoder s BlockCount #

labelProxy BlockCount → Text #

FromCBOR ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Methods

fromCBOR ∷ Decoder s ApplicationName #

labelProxy ApplicationName → Text #

FromCBOR ApplicationVersion 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s ApplicationVersion #

labelProxy ApplicationVersion → Text #

FromCBOR ProtocolUpdateProposal 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s ProtocolUpdateProposal #

labelProxy ProtocolUpdateProposal → Text #

FromCBOR SoftwareUpdateProposal 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s SoftwareUpdateProposal #

labelProxy SoftwareUpdateProposal → Text #

FromCBOR Error 
Instance details

Defined in Cardano.Chain.Update.Validation.Interface

Methods

fromCBOR ∷ Decoder s Error #

labelProxy Error → Text #

FromCBOR HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

fromCBOR ∷ Decoder s HDAddressPayload #

labelProxy HDAddressPayload → Text #

FromCBOR NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

fromCBOR ∷ Decoder s NetworkMagic #

labelProxy NetworkMagic → Text #

FromCBOR AddrSpendingData 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

fromCBOR ∷ Decoder s AddrSpendingData #

labelProxy AddrSpendingData → Text #

FromCBOR AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

fromCBOR ∷ Decoder s AddrType #

labelProxy AddrType → Text #

FromCBOR Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

fromCBOR ∷ Decoder s Address #

labelProxy Address → Text #

FromCBOR Address' 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

fromCBOR ∷ Decoder s Address' #

labelProxy Address' → Text #

FromCBOR LovelaceError 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

fromCBOR ∷ Decoder s LovelaceError #

labelProxy LovelaceError → Text #

FromCBOR LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Methods

fromCBOR ∷ Decoder s LovelacePortion #

labelProxy LovelacePortion → Text #

FromCBOR TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

fromCBOR ∷ Decoder s TxFeePolicy #

labelProxy TxFeePolicy → Text #

FromCBOR TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Methods

fromCBOR ∷ Decoder s TxSizeLinear #

labelProxy TxSizeLinear → Text #

FromCBOR State 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Activation

Methods

fromCBOR ∷ Decoder s State #

labelProxy State → Text #

FromCBOR State 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Scheduling

Methods

fromCBOR ∷ Decoder s State #

labelProxy State → Text #

FromCBOR CompactTxId 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Methods

fromCBOR ∷ Decoder s CompactTxId #

labelProxy CompactTxId → Text #

FromCBOR TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

fromCBOR ∷ Decoder s TxIn #

labelProxy TxIn → Text #

FromCBOR TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

fromCBOR ∷ Decoder s TxOut #

labelProxy TxOut → Text #

FromCBOR TxAux 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

fromCBOR ∷ Decoder s TxAux #

labelProxy TxAux → Text #

FromCBOR TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

fromCBOR ∷ Decoder s TxSigData #

labelProxy TxSigData → Text #

FromCBOR UTxOError 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Methods

fromCBOR ∷ Decoder s UTxOError #

labelProxy UTxOError → Text #

FromCBOR ApplicationNameError 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Methods

fromCBOR ∷ Decoder s ApplicationNameError #

labelProxy ApplicationNameError → Text #

FromCBOR InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Methods

fromCBOR ∷ Decoder s InstallerHash #

labelProxy InstallerHash → Text #

FromCBOR SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

fromCBOR ∷ Decoder s SystemTag #

labelProxy SystemTag → Text #

FromCBOR ProtocolParametersUpdate 
Instance details

Defined in Cardano.Chain.Update.ProtocolParametersUpdate

Methods

fromCBOR ∷ Decoder s ProtocolParametersUpdate #

labelProxy ProtocolParametersUpdate → Text #

FromCBOR SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

fromCBOR ∷ Decoder s SoftforkRule #

labelProxy SoftforkRule → Text #

FromCBOR SoftwareVersionError 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

fromCBOR ∷ Decoder s SoftwareVersionError #

labelProxy SoftwareVersionError → Text #

FromCBOR SystemTagError 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

fromCBOR ∷ Decoder s SystemTagError #

labelProxy SystemTagError → Text #

FromCBOR Error 
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Methods

fromCBOR ∷ Decoder s Error #

labelProxy Error → Text #

FromCBOR Error 
Instance details

Defined in Cardano.Chain.Update.Validation.Voting

Methods

fromCBOR ∷ Decoder s Error #

labelProxy Error → Text #

FromCBOR Error 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s Error #

labelProxy Error → Text #

FromCBOR Adopted 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s Adopted #

labelProxy Adopted → Text #

FromCBOR TicknState 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Methods

fromCBOR ∷ Decoder s TicknState #

labelProxy TicknState → Text #

FromCBOR ChainCode 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

fromCBOR ∷ Decoder s ChainCode #

labelProxy ChainCode → Text #

FromCBOR DnsName 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s DnsName #

labelProxy DnsName → Text #

FromCBOR Port 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s Port #

labelProxy Port → Text #

FromCBOR Url 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s Url #

labelProxy Url → Text #

FromCBOR DeltaCoin 
Instance details

Defined in Shelley.Spec.Ledger.Coin

Methods

fromCBOR ∷ Decoder s DeltaCoin #

labelProxy DeltaCoin → Text #

FromCBOR AccountState 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s AccountState #

labelProxy AccountState → Text #

FromCBOR LogWeight 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s LogWeight #

labelProxy LogWeight → Text #

FromCBOR MIRPot 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s MIRPot #

labelProxy MIRPot → Text #

FromCBOR PerformanceEstimate 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s PerformanceEstimate #

labelProxy PerformanceEstimate → Text #

FromCBOR RewardType 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s RewardType #

labelProxy RewardType → Text #

FromCBOR VotingPeriod 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ppup

Methods

fromCBOR ∷ Decoder s VotingPeriod #

labelProxy VotingPeriod → Text #

FromCBOR TxValidationError 
Instance details

Defined in Cardano.Chain.UTxO.Validation

Methods

fromCBOR ∷ Decoder s TxValidationError #

labelProxy TxValidationError → Text #

FromCBOR Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

Methods

fromCBOR ∷ Decoder s Certificate #

labelProxy CertificateText #

FromCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

FromCBOR OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

FromCBOR a ⇒ FromCBOR [a] 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s [a] #

labelProxy [a] → Text #

FromCBOR a ⇒ FromCBOR (Maybe a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Maybe a) #

labelProxy (Maybe a) → Text #

(Integral a, FromCBOR a) ⇒ FromCBOR (Ratio a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Ratio a) #

labelProxy (Ratio a) → Text #

(Ord a, FromCBOR a) ⇒ FromCBOR (Set a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Set a) #

labelProxy (Set a) → Text #

FromCBOR a ⇒ FromCBOR (NonEmpty a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (NonEmpty a) #

labelProxy (NonEmpty a) → Text #

(Serialise t, Typeable t) ⇒ FromCBOR (WithOrigin t) 
Instance details

Defined in Cardano.Slotting.Slot

Methods

fromCBOR ∷ Decoder s (WithOrigin t) #

labelProxy (WithOrigin t) → Text #

FromCBOR a ⇒ FromCBOR (Vector a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Vector a) #

labelProxy (Vector a) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (BootstrapWitness crypto)) 
Instance details

Defined in Shelley.Spec.Ledger.Address.Bootstrap

Methods

fromCBOR ∷ Decoder s (Annotator (BootstrapWitness crypto)) #

labelProxy (Annotator (BootstrapWitness crypto)) → Text #

(Era era, FromCBOR (Annotator (PParamsDelta era))) ⇒ FromCBOR (Annotator (PPUPState era)) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (Annotator (PPUPState era)) #

labelProxy (Annotator (PPUPState era)) → Text #

Era era ⇒ FromCBOR (Annotator (PParams era)) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (Annotator (PParams era)) #

labelProxy (Annotator (PParams era)) → Text #

Era era ⇒ FromCBOR (Annotator (PParamsUpdate era)) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (Annotator (PParamsUpdate era)) #

labelProxy (Annotator (PParamsUpdate era)) → Text #

FamsFrom era ⇒ FromCBOR (Annotator (TxBody era)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (TxBody era)) #

labelProxy (Annotator (TxBody era)) → Text #

(Era era, TransUTxO FromCBOR era, FromCBOR (Annotator (PParams era)), FromCBOR (Annotator (State (EraRule "PPUP" era)))) ⇒ FromCBOR (Annotator (NewEpochState era)) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (Annotator (NewEpochState era)) #

labelProxy (Annotator (NewEpochState era)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (BHeader crypto)) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (Annotator (BHeader crypto)) #

labelProxy (Annotator (BHeader crypto)) → Text #

(Era era, AnnotatedData (Script era)) ⇒ FromCBOR (Annotator (AuxiliaryData era)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.AuxiliaryData

Methods

fromCBOR ∷ Decoder s (Annotator (AuxiliaryData era)) #

labelProxy (Annotator (AuxiliaryData era)) → Text #

(BlockAnn era, ToCBOR (TxBody era), ToCBOR (AuxiliaryData era), ValidateScript era) ⇒ FromCBOR (Annotator (Block era)) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (Annotator (Block era)) #

labelProxy (Annotator (Block era)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (Timelock crypto)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Methods

fromCBOR ∷ Decoder s (Annotator (Timelock crypto)) #

labelProxy (Annotator (Timelock crypto)) → Text #

(Era era, HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era), TransUTxO FromCBOR era, FromCBOR (Annotator (State (EraRule "PPUP" era)))) ⇒ FromCBOR (Annotator (LedgerState era)) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (Annotator (LedgerState era)) #

labelProxy (Annotator (LedgerState era)) → Text #

(FromCBOR (Annotator (TxBody era)), ValidateScript era, FromCBOR (Annotator (Script era)), FromCBOR (Annotator (AuxiliaryData era))) ⇒ FromCBOR (Annotator (Tx era)) 
Instance details

Defined in Shelley.Spec.Ledger.Tx

Methods

fromCBOR ∷ Decoder s (Annotator (Tx era)) #

labelProxy (Annotator (Tx era)) → Text #

(FromCBOR (Annotator (PParams era)), TransValue FromCBOR era, TransUTxO FromCBOR era, HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era), FromCBOR (Annotator (State (EraRule "PPUP" era))), Era era) ⇒ FromCBOR (Annotator (EpochState era)) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (Annotator (EpochState era)) #

labelProxy (Annotator (EpochState era)) → Text #

(Era era, FromCBOR (TxOut era), FromCBOR (Annotator (PParamsDelta era))) ⇒ FromCBOR (Annotator (TxBody era)) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (TxBody era)) #

labelProxy (Annotator (TxBody era)) → Text #

Typeable era ⇒ FromCBOR (Annotator (Metadata era)) 
Instance details

Defined in Shelley.Spec.Ledger.Metadata

Methods

fromCBOR ∷ Decoder s (Annotator (Metadata era)) #

labelProxy (Annotator (Metadata era)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (MultiSig crypto)) 
Instance details

Defined in Shelley.Spec.Ledger.Scripts

Methods

fromCBOR ∷ Decoder s (Annotator (MultiSig crypto)) #

labelProxy (Annotator (MultiSig crypto)) → Text #

(Era era, AnnotatedData (Script era)) ⇒ FromCBOR (Annotator (AuxiliaryDataRaw era)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.AuxiliaryData

Methods

fromCBOR ∷ Decoder s (Annotator (AuxiliaryDataRaw era)) #

labelProxy (Annotator (AuxiliaryDataRaw era)) → Text #

ShelleyBasedEra era ⇒ FromCBOR (Annotator (Header (ShelleyBlock era))) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Methods

fromCBOR ∷ Decoder s (Annotator (Header (ShelleyBlock era))) #

labelProxy (Annotator (Header (ShelleyBlock era))) → Text #

ShelleyBasedEra era ⇒ FromCBOR (Annotator (ShelleyBlock era)) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Methods

fromCBOR ∷ Decoder s (Annotator (ShelleyBlock era)) #

labelProxy (Annotator (ShelleyBlock era)) → Text #

(TransValue FromCBOR era, TransUTxO FromCBOR era, FromCBOR (Annotator (State (EraRule "PPUP" era))), HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era)) ⇒ FromCBOR (Annotator (UTxOState era)) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (Annotator (UTxOState era)) #

labelProxy (Annotator (UTxOState era)) → Text #

(Era era, FromCBOR (Annotator (PParamsDelta era))) ⇒ FromCBOR (Annotator (ProposedPPUpdates era)) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (Annotator (ProposedPPUpdates era)) #

labelProxy (Annotator (ProposedPPUpdates era)) → Text #

(Era era, FromCBOR (Annotator (PParamsDelta era))) ⇒ FromCBOR (Annotator (Update era)) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (Annotator (Update era)) #

labelProxy (Annotator (Update era)) → Text #

(Typeable t, FromCBOR (Annotator t)) ⇒ FromCBOR (Annotator (MemoBytes t)) 
Instance details

Defined in Data.MemoBytes

Methods

fromCBOR ∷ Decoder s (Annotator (MemoBytes t)) #

labelProxy (Annotator (MemoBytes t)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (TimelockRaw crypto)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Timelocks

Methods

fromCBOR ∷ Decoder s (Annotator (TimelockRaw crypto)) #

labelProxy (Annotator (TimelockRaw crypto)) → Text #

(Typeable kr, Crypto crypto) ⇒ FromCBOR (Annotator (WitVKey kr crypto)) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (WitVKey kr crypto)) #

labelProxy (Annotator (WitVKey kr crypto)) → Text #

FamsFrom era ⇒ FromCBOR (Annotator (TxBodyRaw era)) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (TxBodyRaw era)) #

labelProxy (Annotator (TxBodyRaw era)) → Text #

(Era era, BlockAnn era, ToCBOR (TxBody era), ToCBOR (AuxiliaryData era), ValidateScript era) ⇒ FromCBOR (Annotator (LaxBlock era)) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (Annotator (LaxBlock era)) #

labelProxy (Annotator (LaxBlock era)) → Text #

Crypto crypto ⇒ FromCBOR (Annotator (MultiSigRaw crypto)) 
Instance details

Defined in Shelley.Spec.Ledger.Scripts

Methods

fromCBOR ∷ Decoder s (Annotator (MultiSigRaw crypto)) #

labelProxy (Annotator (MultiSigRaw crypto)) → Text #

(FromCBOR (TxOut era), Era era, FromCBOR (Annotator (PParamsDelta era))) ⇒ FromCBOR (Annotator (TxBodyRaw era)) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (Annotator (TxBodyRaw era)) #

labelProxy (Annotator (TxBodyRaw era)) → Text #

FromCBOR (SigDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Cardano.Api.Crypto.Ed25519Bip32

FromCBOR (SigDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

fromCBOR ∷ Decoder s (SigDSIGN Ed25519DSIGN) #

labelProxy (SigDSIGN Ed25519DSIGN) → Text #

FromCBOR (SigDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

fromCBOR ∷ Decoder s (SigDSIGN MockDSIGN) #

labelProxy (SigDSIGN MockDSIGN) → Text #

FromCBOR (SigDSIGN Ed448DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Methods

fromCBOR ∷ Decoder s (SigDSIGN Ed448DSIGN) #

labelProxy (SigDSIGN Ed448DSIGN) → Text #

FromCBOR (SignKeyDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Cardano.Api.Crypto.Ed25519Bip32

FromCBOR (SignKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

fromCBOR ∷ Decoder s (SignKeyDSIGN Ed25519DSIGN) #

labelProxy (SignKeyDSIGN Ed25519DSIGN) → Text #

FromCBOR (SignKeyDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

fromCBOR ∷ Decoder s (SignKeyDSIGN MockDSIGN) #

labelProxy (SignKeyDSIGN MockDSIGN) → Text #

FromCBOR (SignKeyDSIGN Ed448DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Methods

fromCBOR ∷ Decoder s (SignKeyDSIGN Ed448DSIGN) #

labelProxy (SignKeyDSIGN Ed448DSIGN) → Text #

FromCBOR (VerKeyDSIGN Ed25519Bip32DSIGN) Source # 
Instance details

Defined in Cardano.Api.Crypto.Ed25519Bip32

FromCBOR (VerKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Methods

fromCBOR ∷ Decoder s (VerKeyDSIGN Ed25519DSIGN) #

labelProxy (VerKeyDSIGN Ed25519DSIGN) → Text #

FromCBOR (VerKeyDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Methods

fromCBOR ∷ Decoder s (VerKeyDSIGN MockDSIGN) #

labelProxy (VerKeyDSIGN MockDSIGN) → Text #

FromCBOR (VerKeyDSIGN Ed448DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Methods

fromCBOR ∷ Decoder s (VerKeyDSIGN Ed448DSIGN) #

labelProxy (VerKeyDSIGN Ed448DSIGN) → Text #

Crypto crypto ⇒ FromCBOR (ScriptHash crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Scripts

Methods

fromCBOR ∷ Decoder s (ScriptHash crypto) #

labelProxy (ScriptHash crypto) → Text #

FromCBOR a ⇒ FromCBOR (StrictMaybe a) 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

fromCBOR ∷ Decoder s (StrictMaybe a) #

labelProxy (StrictMaybe a) → Text #

Crypto crypto ⇒ FromCBOR (Addr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Address

Methods

fromCBOR ∷ Decoder s (Addr crypto) #

labelProxy (Addr crypto) → Text #

(Era era, FromCBOR (PParamsDelta era)) ⇒ FromCBOR (PPUPState era) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (PPUPState era) #

labelProxy (PPUPState era) → Text #

Era era ⇒ FromCBOR (PParams era) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (PParams era) #

labelProxy (PParams era) → Text #

Era era ⇒ FromCBOR (PParamsUpdate era) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (PParamsUpdate era) #

labelProxy (PParamsUpdate era) → Text #

(Era era, TransUTxO FromCBOR era, FromCBOR (PParams era), FromCBOR (State (EraRule "PPUP" era))) ⇒ FromCBOR (NewEpochState era) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (NewEpochState era) #

labelProxy (NewEpochState era) → Text #

(Era era, TransTxOut DecodeNonNegative era, Show (Value era)) ⇒ FromCBOR (TxOut era) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (TxOut era) #

labelProxy (TxOut era) → Text #

(ShelleyBased era, FromCBOR (PredicateFailure (EraRule "LEDGERS" era))) ⇒ FromCBOR (ApplyTxError era) 
Instance details

Defined in Shelley.Spec.Ledger.API.Mempool

Methods

fromCBOR ∷ Decoder s (ApplyTxError era) #

labelProxy (ApplyTxError era) → Text #

(Era era, HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era), TransUTxO FromCBOR era, FromCBOR (State (EraRule "PPUP" era))) ⇒ FromCBOR (LedgerState era) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (LedgerState era) #

labelProxy (LedgerState era) → Text #

(ShelleyBased era, FromCBOR (PredicateFailure (EraRule "LEDGER" era))) ⇒ FromCBOR (LedgersPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

Methods

fromCBOR ∷ Decoder s (LedgersPredicateFailure era) #

labelProxy (LedgersPredicateFailure era) → Text #

Crypto crypto ⇒ FromCBOR (NonMyopic crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s (NonMyopic crypto) #

labelProxy (NonMyopic crypto) → Text #

Crypto crypto ⇒ FromCBOR (PState crypto) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (PState crypto) #

labelProxy (PState crypto) → Text #

Crypto crypto ⇒ FromCBOR (PoolParams crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (PoolParams crypto) #

labelProxy (PoolParams crypto) → Text #

Crypto crypto ⇒ FromCBOR (InstantaneousRewards crypto) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (InstantaneousRewards crypto) #

labelProxy (InstantaneousRewards crypto) → Text #

Crypto crypto ⇒ FromCBOR (SnapShots crypto) 
Instance details

Defined in Shelley.Spec.Ledger.EpochBoundary

Methods

fromCBOR ∷ Decoder s (SnapShots crypto) #

labelProxy (SnapShots crypto) → Text #

Crypto crypto ⇒ FromCBOR (SnapShot crypto) 
Instance details

Defined in Shelley.Spec.Ledger.EpochBoundary

Methods

fromCBOR ∷ Decoder s (SnapShot crypto) #

labelProxy (SnapShot crypto) → Text #

Era era ⇒ FromCBOR (ShelleyGenesis era) 
Instance details

Defined in Shelley.Spec.Ledger.Genesis

Methods

fromCBOR ∷ Decoder s (ShelleyGenesis era) #

labelProxy (ShelleyGenesis era) → Text #

Crypto crypto ⇒ FromCBOR (ChainDepState crypto) 
Instance details

Defined in Shelley.Spec.Ledger.API.Protocol

Methods

fromCBOR ∷ Decoder s (ChainDepState crypto) #

labelProxy (ChainDepState crypto) → Text #

Crypto crypto ⇒ FromCBOR (GenDelegPair crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

fromCBOR ∷ Decoder s (GenDelegPair crypto) #

labelProxy (GenDelegPair crypto) → Text #

Crypto crypto ⇒ FromCBOR (BlocksMade crypto) 
Instance details

Defined in Shelley.Spec.Ledger.EpochBoundary

Methods

fromCBOR ∷ Decoder s (BlocksMade crypto) #

labelProxy (BlocksMade crypto) → Text #

(FromCBOR (PParams era), TransValue FromCBOR era, TransUTxO FromCBOR era, HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era), FromCBOR (State (EraRule "PPUP" era)), Era era) ⇒ FromCBOR (EpochState era) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (EpochState era) #

labelProxy (EpochState era) → Text #

Crypto crypto ⇒ FromCBOR (PulsingRewUpdate crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (PulsingRewUpdate crypto) #

labelProxy (PulsingRewUpdate crypto) → Text #

Crypto crypto ⇒ FromCBOR (PoolDistr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Delegation.Certificates

Methods

fromCBOR ∷ Decoder s (PoolDistr crypto) #

labelProxy (PoolDistr crypto) → Text #

(FromCBOR (TxOut era), Era era) ⇒ FromCBOR (UTxO era) 
Instance details

Defined in Shelley.Spec.Ledger.UTxO

Methods

fromCBOR ∷ Decoder s (UTxO era) #

labelProxy (UTxO era) → Text #

Crypto crypto ⇒ FromCBOR (FutureGenDeleg crypto) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (FutureGenDeleg crypto) #

labelProxy (FutureGenDeleg crypto) → Text #

Crypto crypto ⇒ FromCBOR (DState crypto) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (DState crypto) #

labelProxy (DState crypto) → Text #

Crypto crypto ⇒ FromCBOR (IndividualPoolStake crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Delegation.Certificates

Methods

fromCBOR ∷ Decoder s (IndividualPoolStake crypto) #

labelProxy (IndividualPoolStake crypto) → Text #

Crypto crypto ⇒ FromCBOR (Value crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromCBOR ∷ Decoder s (Value crypto) #

labelProxy (Value crypto) → Text #

Crypto crypto ⇒ FromCBOR (PolicyID crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromCBOR ∷ Decoder s (PolicyID crypto) #

labelProxy (PolicyID crypto) → Text #

Crypto crypto ⇒ FromCBOR (RewardProvenance crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

fromCBOR ∷ Decoder s (RewardProvenance crypto) #

labelProxy (RewardProvenance crypto) → Text #

Crypto crypto ⇒ FromCBOR (RewardProvenancePool crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

fromCBOR ∷ Decoder s (RewardProvenancePool crypto) #

labelProxy (RewardProvenancePool crypto) → Text #

Crypto crypto ⇒ FromCBOR (RewardAcnt crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Address

Methods

fromCBOR ∷ Decoder s (RewardAcnt crypto) #

labelProxy (RewardAcnt crypto) → Text #

DSIGNAlgorithm d ⇒ FromCBOR (SigKES (SingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.Single

Methods

fromCBOR ∷ Decoder s (SigKES (SingleKES d)) #

labelProxy (SigKES (SingleKES d)) → Text #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ FromCBOR (SigKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

fromCBOR ∷ Decoder s (SigKES (SumKES h d)) #

labelProxy (SigKES (SumKES h d)) → Text #

KnownNat t ⇒ FromCBOR (SigKES (MockKES t)) 
Instance details

Defined in Cardano.Crypto.KES.Mock

Methods

fromCBOR ∷ Decoder s (SigKES (MockKES t)) #

labelProxy (SigKES (MockKES t)) → Text #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (SigKES (SimpleKES d t)) 
Instance details

Defined in Cardano.Crypto.KES.Simple

Methods

fromCBOR ∷ Decoder s (SigKES (SimpleKES d t)) #

labelProxy (SigKES (SimpleKES d t)) → Text #

DSIGNAlgorithm d ⇒ FromCBOR (VerKeyKES (SingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.Single

Methods

fromCBOR ∷ Decoder s (VerKeyKES (SingleKES d)) #

labelProxy (VerKeyKES (SingleKES d)) → Text #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ FromCBOR (VerKeyKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

fromCBOR ∷ Decoder s (VerKeyKES (SumKES h d)) #

labelProxy (VerKeyKES (SumKES h d)) → Text #

KnownNat t ⇒ FromCBOR (VerKeyKES (MockKES t)) 
Instance details

Defined in Cardano.Crypto.KES.Mock

Methods

fromCBOR ∷ Decoder s (VerKeyKES (MockKES t)) #

labelProxy (VerKeyKES (MockKES t)) → Text #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (VerKeyKES (SimpleKES d t)) 
Instance details

Defined in Cardano.Crypto.KES.Simple

Methods

fromCBOR ∷ Decoder s (VerKeyKES (SimpleKES d t)) #

labelProxy (VerKeyKES (SimpleKES d t)) → Text #

DSIGNAlgorithm d ⇒ FromCBOR (SignKeyKES (SingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.Single

Methods

fromCBOR ∷ Decoder s (SignKeyKES (SingleKES d)) #

labelProxy (SignKeyKES (SingleKES d)) → Text #

(KESAlgorithm d, HashAlgorithm h, Typeable d) ⇒ FromCBOR (SignKeyKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Methods

fromCBOR ∷ Decoder s (SignKeyKES (SumKES h d)) #

labelProxy (SignKeyKES (SumKES h d)) → Text #

KnownNat t ⇒ FromCBOR (SignKeyKES (MockKES t)) 
Instance details

Defined in Cardano.Crypto.KES.Mock

Methods

fromCBOR ∷ Decoder s (SignKeyKES (MockKES t)) #

labelProxy (SignKeyKES (MockKES t)) → Text #

(DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) ⇒ FromCBOR (SignKeyKES (SimpleKES d t)) 
Instance details

Defined in Cardano.Crypto.KES.Simple

Methods

fromCBOR ∷ Decoder s (SignKeyKES (SimpleKES d t)) #

labelProxy (SignKeyKES (SimpleKES d t)) → Text #

Crypto crypto ⇒ FromCBOR (BHBody crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (BHBody crypto) #

labelProxy (BHBody crypto) → Text #

Crypto crypto ⇒ FromCBOR (CompactAddr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.CompactAddr

Methods

fromCBOR ∷ Decoder s (CompactAddr crypto) #

labelProxy (CompactAddr crypto) → Text #

FromCBOR (CompactForm Coin) 
Instance details

Defined in Shelley.Spec.Ledger.Coin

Methods

fromCBOR ∷ Decoder s (CompactForm Coin) #

labelProxy (CompactForm Coin) → Text #

Crypto crypto ⇒ FromCBOR (CompactForm (Value crypto)) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromCBOR ∷ Decoder s (CompactForm (Value crypto)) #

labelProxy (CompactForm (Value crypto)) → Text #

Crypto c ⇒ FromCBOR (ShelleyHash c) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Methods

fromCBOR ∷ Decoder s (ShelleyHash c) #

labelProxy (ShelleyHash c) → Text #

Era era ⇒ FromCBOR (CompactGenesis era) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Config

Methods

fromCBOR ∷ Decoder s (CompactGenesis era) #

labelProxy (CompactGenesis era) → Text #

FromCBOR (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR ∷ Decoder s (SignKeyVRF PraosVRF) #

labelProxy (SignKeyVRF PraosVRF) → Text #

FromCBOR (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Methods

fromCBOR ∷ Decoder s (SignKeyVRF MockVRF) #

labelProxy (SignKeyVRF MockVRF) → Text #

FromCBOR (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

fromCBOR ∷ Decoder s (SignKeyVRF SimpleVRF) #

labelProxy (SignKeyVRF SimpleVRF) → Text #

FromCBOR (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR ∷ Decoder s (VerKeyVRF PraosVRF) #

labelProxy (VerKeyVRF PraosVRF) → Text #

FromCBOR (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Methods

fromCBOR ∷ Decoder s (VerKeyVRF MockVRF) #

labelProxy (VerKeyVRF MockVRF) → Text #

FromCBOR (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

fromCBOR ∷ Decoder s (VerKeyVRF SimpleVRF) #

labelProxy (VerKeyVRF SimpleVRF) → Text #

Crypto crypto ⇒ FromCBOR (PrtclState crypto) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Prtcl

Methods

fromCBOR ∷ Decoder s (PrtclState crypto) #

labelProxy (PrtclState crypto) → Text #

Typeable v ⇒ FromCBOR (OutputVRF v) 
Instance details

Defined in Cardano.Crypto.VRF.Class

Methods

fromCBOR ∷ Decoder s (OutputVRF v) #

labelProxy (OutputVRF v) → Text #

Crypto crypto ⇒ FromCBOR (ShelleyGenesisStaking crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Genesis

Methods

fromCBOR ∷ Decoder s (ShelleyGenesisStaking crypto) #

labelProxy (ShelleyGenesisStaking crypto) → Text #

FromCBOR (ATxAux ByteSpan) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

fromCBOR ∷ Decoder s (ATxAux ByteSpan) #

labelProxy (ATxAux ByteSpan) → Text #

FromCBOR (ACertificate ByteSpan) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

fromCBOR ∷ Decoder s (ACertificate ByteSpan) #

labelProxy (ACertificate ByteSpan) → Text #

FromCBOR (AProposal ByteSpan) 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

fromCBOR ∷ Decoder s (AProposal ByteSpan) #

labelProxy (AProposal ByteSpan) → Text #

FromCBOR (AVote ByteSpan) 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

fromCBOR ∷ Decoder s (AVote ByteSpan) #

labelProxy (AVote ByteSpan) → Text #

Crypto crypto ⇒ FromCBOR (PrevHash crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (PrevHash crypto) #

labelProxy (PrevHash crypto) → Text #

Crypto crypto ⇒ FromCBOR (HashHeader crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (HashHeader crypto) #

labelProxy (HashHeader crypto) → Text #

(TransValue FromCBOR era, TransUTxO FromCBOR era, FromCBOR (State (EraRule "PPUP" era)), HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era)) ⇒ FromCBOR (UTxOState era) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (UTxOState era) #

labelProxy (UTxOState era) → Text #

Crypto crypto ⇒ FromCBOR (DPState crypto) 
Instance details

Defined in Shelley.Spec.Ledger.LedgerState

Methods

fromCBOR ∷ Decoder s (DPState crypto) #

labelProxy (DPState crypto) → Text #

(Era era, FromCBOR (PParamsDelta era)) ⇒ FromCBOR (ProposedPPUpdates era) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

fromCBOR ∷ Decoder s (ProposedPPUpdates era) #

labelProxy (ProposedPPUpdates era) → Text #

Crypto crypto ⇒ FromCBOR (TxIn crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (TxIn crypto) #

labelProxy (TxIn crypto) → Text #

Crypto crypto ⇒ FromCBOR (TxId crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (TxId crypto) #

labelProxy (TxId crypto) → Text #

FromCBOR (CertVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

fromCBOR ∷ Decoder s (CertVRF PraosVRF) #

labelProxy (CertVRF PraosVRF) → Text #

FromCBOR (CertVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Methods

fromCBOR ∷ Decoder s (CertVRF MockVRF) #

labelProxy (CertVRF MockVRF) → Text #

FromCBOR (CertVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

fromCBOR ∷ Decoder s (CertVRF SimpleVRF) #

labelProxy (CertVRF SimpleVRF) → Text #

Typeable a ⇒ FromCBOR (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

Methods

fromCBOR ∷ Decoder s (RedeemSignature a) #

labelProxy (RedeemSignature a) → Text #

Typeable a ⇒ FromCBOR (Signature a) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Methods

fromCBOR ∷ Decoder s (Signature a) #

labelProxy (Signature a) → Text #

FromCBOR (ABody ByteSpan) 
Instance details

Defined in Cardano.Chain.Block.Body

Methods

fromCBOR ∷ Decoder s (ABody ByteSpan) #

labelProxy (ABody ByteSpan) → Text #

FromCBOR (APayload ByteSpan) 
Instance details

Defined in Cardano.Chain.Delegation.Payload

Methods

fromCBOR ∷ Decoder s (APayload ByteSpan) #

labelProxy (APayload ByteSpan) → Text #

FromCBOR (ABlockSignature ByteSpan) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

fromCBOR ∷ Decoder s (ABlockSignature ByteSpan) #

labelProxy (ABlockSignature ByteSpan) → Text #

FromCBOR (ATxPayload ByteSpan) 
Instance details

Defined in Cardano.Chain.UTxO.TxPayload

Methods

fromCBOR ∷ Decoder s (ATxPayload ByteSpan) #

labelProxy (ATxPayload ByteSpan) → Text #

FromCBOR (APayload ByteSpan) 
Instance details

Defined in Cardano.Chain.Update.Payload

Methods

fromCBOR ∷ Decoder s (APayload ByteSpan) #

labelProxy (APayload ByteSpan) → Text #

FromCBOR (Attributes ()) 
Instance details

Defined in Cardano.Chain.Common.Attributes

Methods

fromCBOR ∷ Decoder s (Attributes ()) #

labelProxy (Attributes ()) → Text #

FromCBOR (Attributes AddrAttributes) 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

fromCBOR ∷ Decoder s (Attributes AddrAttributes) #

labelProxy (Attributes AddrAttributes) → Text #

FromCBOR a ⇒ FromCBOR (MerkleRoot a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

Methods

fromCBOR ∷ Decoder s (MerkleRoot a) #

labelProxy (MerkleRoot a) → Text #

(FromCBOR a, ToCBOR a) ⇒ FromCBOR (MerkleTree a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

Methods

fromCBOR ∷ Decoder s (MerkleTree a) #

labelProxy (MerkleTree a) → Text #

FromCBOR n ⇒ FromCBOR (TooLarge n) 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Methods

fromCBOR ∷ Decoder s (TooLarge n) #

labelProxy (TooLarge n) → Text #

Crypto crypto ⇒ FromCBOR (CompactValue crypto) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Methods

fromCBOR ∷ Decoder s (CompactValue crypto) #

labelProxy (CompactValue crypto) → Text #

(TransValue FromCBOR era, TransUTxO FromCBOR era, DecodeNonNegative (Value era), Show (Value era), FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (UtxoPredicateFailure era) 
Instance details

Defined in Cardano.Ledger.ShelleyMA.Rules.Utxo

Methods

fromCBOR ∷ Decoder s (UtxoPredicateFailure era) #

labelProxy (UtxoPredicateFailure era) → Text #

Era era ⇒ FromCBOR (PpupPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ppup

Methods

fromCBOR ∷ Decoder s (PpupPredicateFailure era) #

labelProxy (PpupPredicateFailure era) → Text #

Crypto crypto ⇒ FromCBOR (DCert crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (DCert crypto) #

labelProxy (DCert crypto) → Text #

Crypto crypto ⇒ FromCBOR (Wdrl crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (Wdrl crypto) #

labelProxy (Wdrl crypto) → Text #

(Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) ⇒ FromCBOR (UtxowPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Utxow

Methods

fromCBOR ∷ Decoder s (UtxowPredicateFailure era) #

labelProxy (UtxowPredicateFailure era) → Text #

Crypto crypto ⇒ FromCBOR (AuxiliaryDataHash crypto) 
Instance details

Defined in Cardano.Ledger.AuxiliaryData

Methods

fromCBOR ∷ Decoder s (AuxiliaryDataHash crypto) #

labelProxy (AuxiliaryDataHash crypto) → Text #

Crypto crypto ⇒ FromCBOR (GenDelegs crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

fromCBOR ∷ Decoder s (GenDelegs crypto) #

labelProxy (GenDelegs crypto) → Text #

Crypto crypto ⇒ FromCBOR (HashBBody crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (HashBBody crypto) #

labelProxy (HashBBody crypto) → Text #

Crypto crypto ⇒ FromCBOR (LastAppliedBlock crypto) 
Instance details

Defined in Shelley.Spec.Ledger.BlockChain

Methods

fromCBOR ∷ Decoder s (LastAppliedBlock crypto) #

labelProxy (LastAppliedBlock crypto) → Text #

(FromCBORGroup a, ToCBORGroup a) ⇒ FromCBOR (CBORGroup a) 
Instance details

Defined in Shelley.Spec.Ledger.Serialization

Methods

fromCBOR ∷ Decoder s (CBORGroup a) #

labelProxy (CBORGroup a) → Text #

Crypto crypto ⇒ FromCBOR (MIRCert crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (MIRCert crypto) #

labelProxy (MIRCert crypto) → Text #

Crypto crypto ⇒ FromCBOR (StakeCreds crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (StakeCreds crypto) #

labelProxy (StakeCreds crypto) → Text #

Crypto crypto ⇒ FromCBOR (Stake crypto) 
Instance details

Defined in Shelley.Spec.Ledger.EpochBoundary

Methods

fromCBOR ∷ Decoder s (Stake crypto) #

labelProxy (Stake crypto) → Text #

Crypto crypto ⇒ FromCBOR (RewardSnapShot crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (RewardSnapShot crypto) #

labelProxy (RewardSnapShot crypto) → Text #

Crypto crypto ⇒ FromCBOR (RewardUpdate crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (RewardUpdate crypto) #

labelProxy (RewardUpdate crypto) → Text #

Crypto crypto ⇒ FromCBOR (Reward crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Rewards

Methods

fromCBOR ∷ Decoder s (Reward crypto) #

labelProxy (Reward crypto) → Text #

Crypto c ⇒ FromCBOR (Pulser c) 
Instance details

Defined in Shelley.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (Pulser c) #

labelProxy (Pulser c) → Text #

Crypto crypto ⇒ FromCBOR (OBftSlot crypto) 
Instance details

Defined in Shelley.Spec.Ledger.OverlaySchedule

Methods

fromCBOR ∷ Decoder s (OBftSlot crypto) #

labelProxy (OBftSlot crypto) → Text #

Crypto crypto ⇒ FromCBOR (FreeVars crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardUpdate

Methods

fromCBOR ∷ Decoder s (FreeVars crypto) #

labelProxy (FreeVars crypto) → Text #

(Era era, Typeable (Script era)) ⇒ FromCBOR (DelegPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Deleg

Methods

fromCBOR ∷ Decoder s (DelegPredicateFailure era) #

labelProxy (DelegPredicateFailure era) → Text #

(Era era, FromCBOR (PredicateFailure (EraRule "DELPL" era)), Typeable (Script era)) ⇒ FromCBOR (DelegsPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

Methods

fromCBOR ∷ Decoder s (DelegsPredicateFailure era) #

labelProxy (DelegsPredicateFailure era) → Text #

(Era era, FromCBOR (PredicateFailure (EraRule "POOL" era)), FromCBOR (PredicateFailure (EraRule "DELEG" era)), Typeable (Script era)) ⇒ FromCBOR (DelplPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delpl

Methods

fromCBOR ∷ Decoder s (DelplPredicateFailure era) #

labelProxy (DelplPredicateFailure era) → Text #

Era era ⇒ FromCBOR (PoolPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

Methods

fromCBOR ∷ Decoder s (PoolPredicateFailure era) #

labelProxy (PoolPredicateFailure era) → Text #

(FromCBOR (PredicateFailure (EraRule "DELEGS" era)), FromCBOR (PredicateFailure (EraRule "UTXOW" era)), Era era) ⇒ FromCBOR (LedgerPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledger

Methods

fromCBOR ∷ Decoder s (LedgerPredicateFailure era) #

labelProxy (LedgerPredicateFailure era) → Text #

(TransValue FromCBOR era, TransUTxO FromCBOR era, DecodeNonNegative (Value era), Show (Value era), FromCBOR (PredicateFailure (EraRule "PPUP" era))) ⇒ FromCBOR (UtxoPredicateFailure era) 
Instance details

Defined in Shelley.Spec.Ledger.STS.Utxo

Methods

fromCBOR ∷ Decoder s (UtxoPredicateFailure era) #

labelProxy (UtxoPredicateFailure era) → Text #

Crypto crypto ⇒ FromCBOR (MIRTarget crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

fromCBOR ∷ Decoder s (MIRTarget crypto) #

labelProxy (MIRTarget crypto) → Text #

FromCBOR (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

FromCBOR (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

FromCBOR (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

FromCBOR (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

FromCBOR (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

fromCBOR ∷ Decoder s (SigningKey StakeKey) #

labelProxy (SigningKey StakeKey) → Text #

FromCBOR (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

fromCBOR ∷ Decoder s (SigningKey VrfKey) #

labelProxy (SigningKey VrfKey) → Text #

FromCBOR (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

Methods

fromCBOR ∷ Decoder s (SigningKey KesKey) #

labelProxy (SigningKey KesKey) → Text #

FromCBOR (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

FromCBOR (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

Methods

fromCBOR ∷ Decoder s (SigningKey ByronKey) #

labelProxy (SigningKey ByronKey) → Text #

FromCBOR a ⇒ FromCBOR (CborSeq a) 
Instance details

Defined in Shelley.Spec.Ledger.Serialization

Methods

fromCBOR ∷ Decoder s (CborSeq a) #

labelProxy (CborSeq a) → Text #

(Typeable era, TransLedgerState FromCBOR (ShelleyLedgerEra era)) ⇒ FromCBOR (LedgerState era) Source # 
Instance details

Defined in Cardano.Api.Query

Methods

fromCBOR ∷ Decoder s (LedgerState era) #

labelProxy (LedgerState era) → Text #

(FromCBOR a, FromCBOR b) ⇒ FromCBOR (Either a b) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Either a b) #

labelProxy (Either a b) → Text #

(FromCBOR a, FromCBOR b) ⇒ FromCBOR (a, b) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (a, b) #

labelProxy (a, b) → Text #

(Ord k, FromCBOR k, FromCBOR v) ⇒ FromCBOR (Map k v) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (Map k v) #

labelProxy (Map k v) → Text #

(HashAlgorithm h, Typeable a) ⇒ FromCBOR (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

fromCBOR ∷ Decoder s (Hash h a) #

labelProxy (Hash h a) → Text #

(Crypto crypto, Typeable disc) ⇒ FromCBOR (KeyHash disc crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

fromCBOR ∷ Decoder s (KeyHash disc crypto) #

labelProxy (KeyHash disc crypto) → Text #

(Typeable kr, Crypto crypto) ⇒ FromCBOR (Credential kr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Credential

Methods

fromCBOR ∷ Decoder s (Credential kr crypto) #

labelProxy (Credential kr crypto) → Text #

(Typeable index, Crypto c) ⇒ FromCBOR (SafeHash c index) 
Instance details

Defined in Cardano.Ledger.SafeHash

Methods

fromCBOR ∷ Decoder s (SafeHash c index) #

labelProxy (SafeHash c index) → Text #

(Crypto crypto, Typeable kd) ⇒ FromCBOR (VKey kd crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

fromCBOR ∷ Decoder s (VKey kd crypto) #

labelProxy (VKey kd crypto) → Text #

(VRFAlgorithm v, Typeable a) ⇒ FromCBOR (CertifiedVRF v a) 
Instance details

Defined in Cardano.Crypto.VRF.Class

Methods

fromCBOR ∷ Decoder s (CertifiedVRF v a) #

labelProxy (CertifiedVRF v a) → Text #

(Typeable algo, Typeable a, HashAlgorithm algo) ⇒ FromCBOR (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

fromCBOR ∷ Decoder s (AbstractHash algo a) #

labelProxy (AbstractHash algo a) → Text #

(FromCBOR a, FromCBOR b, FromCBOR c) ⇒ FromCBOR (a, b, c) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (a, b, c) #

labelProxy (a, b, c) → Text #

(Typeable s, FromCBOR a) ⇒ FromCBOR (Tagged s a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s0 (Tagged s a) #

labelProxy (Tagged s a) → Text #

(Ord a, Ord b, FromCBOR a, FromCBOR b) ⇒ FromCBOR (BiMap b a b) 
Instance details

Defined in Control.Iterate.SetAlgebra

Methods

fromCBOR ∷ Decoder s (BiMap b a b) #

labelProxy (BiMap b a b) → Text #

(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d) ⇒ FromCBOR (a, b, c, d) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (a, b, c, d) #

labelProxy (a, b, c, d) → Text #

(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d, FromCBOR e) ⇒ FromCBOR (a, b, c, d, e) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (a, b, c, d, e) #

labelProxy (a, b, c, d, e) → Text #

(FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d, FromCBOR e, FromCBOR f, FromCBOR g) ⇒ FromCBOR (a, b, c, d, e, f, g) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBOR ∷ Decoder s (a, b, c, d, e, f, g) #

labelProxy (a, b, c, d, e, f, g) → Text #

JSON

class ToJSON a #

Instances

Instances details
ToJSON Bool 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONBool → Value #

toEncodingBool → Encoding #

toJSONList ∷ [Bool] → Value #

toEncodingList ∷ [Bool] → Encoding #

ToJSON Char 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONChar → Value #

toEncodingChar → Encoding #

toJSONList ∷ [Char] → Value #

toEncodingList ∷ [Char] → Encoding #

ToJSON Double 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDouble → Value #

toEncodingDouble → Encoding #

toJSONList ∷ [Double] → Value #

toEncodingList ∷ [Double] → Encoding #

ToJSON Float 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFloat → Value #

toEncodingFloat → Encoding #

toJSONList ∷ [Float] → Value #

toEncodingList ∷ [Float] → Encoding #

ToJSON Int 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt → Value #

toEncodingInt → Encoding #

toJSONList ∷ [Int] → Value #

toEncodingList ∷ [Int] → Encoding #

ToJSON Int8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt8 → Value #

toEncodingInt8 → Encoding #

toJSONList ∷ [Int8] → Value #

toEncodingList ∷ [Int8] → Encoding #

ToJSON Int16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt16 → Value #

toEncodingInt16 → Encoding #

toJSONList ∷ [Int16] → Value #

toEncodingList ∷ [Int16] → Encoding #

ToJSON Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt32 → Value #

toEncodingInt32 → Encoding #

toJSONList ∷ [Int32] → Value #

toEncodingList ∷ [Int32] → Encoding #

ToJSON Int64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt64 → Value #

toEncodingInt64 → Encoding #

toJSONList ∷ [Int64] → Value #

toEncodingList ∷ [Int64] → Encoding #

ToJSON Integer 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInteger → Value #

toEncodingInteger → Encoding #

toJSONList ∷ [Integer] → Value #

toEncodingList ∷ [Integer] → Encoding #

ToJSON Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNatural → Value #

toEncodingNatural → Encoding #

toJSONList ∷ [Natural] → Value #

toEncodingList ∷ [Natural] → Encoding #

ToJSON Ordering 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONOrdering → Value #

toEncodingOrdering → Encoding #

toJSONList ∷ [Ordering] → Value #

toEncodingList ∷ [Ordering] → Encoding #

ToJSON Word 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord → Value #

toEncodingWord → Encoding #

toJSONList ∷ [Word] → Value #

toEncodingList ∷ [Word] → Encoding #

ToJSON Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord8 → Value #

toEncodingWord8 → Encoding #

toJSONList ∷ [Word8] → Value #

toEncodingList ∷ [Word8] → Encoding #

ToJSON Word16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord16 → Value #

toEncodingWord16 → Encoding #

toJSONList ∷ [Word16] → Value #

toEncodingList ∷ [Word16] → Encoding #

ToJSON Word32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord32 → Value #

toEncodingWord32 → Encoding #

toJSONList ∷ [Word32] → Value #

toEncodingList ∷ [Word32] → Encoding #

ToJSON Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord64 → Value #

toEncodingWord64 → Encoding #

toJSONList ∷ [Word64] → Value #

toEncodingList ∷ [Word64] → Encoding #

ToJSON () 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ () → Value #

toEncoding ∷ () → Encoding #

toJSONList ∷ [()] → Value #

toEncodingList ∷ [()] → Encoding #

ToJSON Version 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVersion → Value #

toEncodingVersion → Encoding #

toJSONList ∷ [Version] → Value #

toEncodingList ∷ [Version] → Encoding #

ToJSON Void 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVoid → Value #

toEncodingVoid → Encoding #

toJSONList ∷ [Void] → Value #

toEncodingList ∷ [Void] → Encoding #

ToJSON CTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCTime → Value #

toEncodingCTime → Encoding #

toJSONList ∷ [CTime] → Value #

toEncodingList ∷ [CTime] → Encoding #

ToJSON IntSet 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIntSet → Value #

toEncodingIntSet → Encoding #

toJSONList ∷ [IntSet] → Value #

toEncodingList ∷ [IntSet] → Encoding #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONText → Value #

toEncodingText → Encoding #

toJSONList ∷ [Text] → Value #

toEncodingList ∷ [Text] → Encoding #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONText → Value #

toEncodingText → Encoding #

toJSONList ∷ [Text] → Value #

toEncodingList ∷ [Text] → Encoding #

ToJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONZonedTime → Value #

toEncodingZonedTime → Encoding #

toJSONList ∷ [ZonedTime] → Value #

toEncodingList ∷ [ZonedTime] → Encoding #

ToJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLocalTime → Value #

toEncodingLocalTime → Encoding #

toJSONList ∷ [LocalTime] → Value #

toEncodingList ∷ [LocalTime] → Encoding #

ToJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONTimeOfDay → Value #

toEncodingTimeOfDay → Encoding #

toJSONList ∷ [TimeOfDay] → Value #

toEncodingList ∷ [TimeOfDay] → Encoding #

ToJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCalendarDiffTime → Value #

toEncodingCalendarDiffTime → Encoding #

toJSONList ∷ [CalendarDiffTime] → Value #

toEncodingList ∷ [CalendarDiffTime] → Encoding #

ToJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONUTCTime → Value #

toEncodingUTCTime → Encoding #

toJSONList ∷ [UTCTime] → Value #

toEncodingList ∷ [UTCTime] → Encoding #

ToJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSystemTime → Value #

toEncodingSystemTime → Encoding #

toJSONList ∷ [SystemTime] → Value #

toEncodingList ∷ [SystemTime] → Encoding #

ToJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNominalDiffTime → Value #

toEncodingNominalDiffTime → Encoding #

toJSONList ∷ [NominalDiffTime] → Value #

toEncodingList ∷ [NominalDiffTime] → Encoding #

ToJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDiffTime → Value #

toEncodingDiffTime → Encoding #

toJSONList ∷ [DiffTime] → Value #

toEncodingList ∷ [DiffTime] → Encoding #

ToJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDayOfWeek → Value #

toEncodingDayOfWeek → Encoding #

toJSONList ∷ [DayOfWeek] → Value #

toEncodingList ∷ [DayOfWeek] → Encoding #

ToJSON Day 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDay → Value #

toEncodingDay → Encoding #

toJSONList ∷ [Day] → Value #

toEncodingList ∷ [Day] → Encoding #

ToJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCalendarDiffDays → Value #

toEncodingCalendarDiffDays → Encoding #

toJSONList ∷ [CalendarDiffDays] → Value #

toEncodingList ∷ [CalendarDiffDays] → Encoding #

ToJSON Number 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Number → Value #

toEncoding ∷ Number → Encoding #

toJSONList ∷ [Number] → Value #

toEncodingList ∷ [Number] → Encoding #

ToJSON Scientific 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Scientific → Value #

toEncoding ∷ Scientific → Encoding #

toJSONList ∷ [Scientific] → Value #

toEncodingList ∷ [Scientific] → Encoding #

ToJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DotNetTime → Value #

toEncoding ∷ DotNetTime → Encoding #

toJSONList ∷ [DotNetTime] → Value #

toEncodingList ∷ [DotNetTime] → Encoding #

ToJSON Value 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Value → Value #

toEncoding ∷ Value → Encoding #

toJSONList ∷ [Value] → Value #

toEncodingList ∷ [Value] → Encoding #

ToJSON ByteSpan 
Instance details

Defined in Cardano.Binary.Annotated

Methods

toJSON ∷ ByteSpan → Value #

toEncoding ∷ ByteSpan → Encoding #

toJSONList ∷ [ByteSpan] → Value #

toEncodingList ∷ [ByteSpan] → Encoding #

ToJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSONEpochNo → Value #

toEncodingEpochNo → Encoding #

toJSONList ∷ [EpochNo] → Value #

toEncodingList ∷ [EpochNo] → Encoding #

ToJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSONEpochSize → Value #

toEncodingEpochSize → Encoding #

toJSONList ∷ [EpochSize] → Value #

toEncodingList ∷ [EpochSize] → Encoding #

ToJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

toJSONSlotNo → Value #

toEncodingSlotNo → Encoding #

toJSONList ∷ [SlotNo] → Value #

toEncodingList ∷ [SlotNo] → Encoding #

ToJSON UUID 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ UUID → Value #

toEncoding ∷ UUID → Encoding #

toJSONList ∷ [UUID] → Value #

toEncodingList ∷ [UUID] → Encoding #

ToJSON Coin 
Instance details

Defined in Shelley.Spec.Ledger.Coin

Methods

toJSON ∷ Coin → Value #

toEncoding ∷ Coin → Encoding #

toJSONList ∷ [Coin] → Value #

toEncodingList ∷ [Coin] → Encoding #

ToJSON UnitInterval 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toJSON ∷ UnitInterval → Value #

toEncoding ∷ UnitInterval → Encoding #

toJSONList ∷ [UnitInterval] → Value #

toEncodingList ∷ [UnitInterval] → Encoding #

ToJSON ProtVer 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

toJSON ∷ ProtVer → Value #

toEncoding ∷ ProtVer → Encoding #

toJSONList ∷ [ProtVer] → Value #

toEncodingList ∷ [ProtVer] → Encoding #

ToJSON Likelihood Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Likelihood → Value #

toEncoding ∷ Likelihood → Encoding #

toJSONList ∷ [Likelihood] → Value #

toEncodingList ∷ [Likelihood] → Encoding #

ToJSON Ptr Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Ptr → Value #

toEncoding ∷ Ptr → Encoding #

toJSONList ∷ [Ptr] → Value #

toEncodingList ∷ [Ptr] → Encoding #

ToJSON Nonce 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toJSON ∷ Nonce → Value #

toEncoding ∷ Nonce → Encoding #

toJSONList ∷ [Nonce] → Value #

toEncodingList ∷ [Nonce] → Encoding #

ToJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ AssetName → Value #

toEncoding ∷ AssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

ToJSON Desirability 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

toJSON ∷ Desirability → Value #

toEncoding ∷ Desirability → Encoding #

toJSONList ∷ [Desirability] → Value #

toEncodingList ∷ [Desirability] → Encoding #

ToJSON StakePoolRelay 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toJSON ∷ StakePoolRelay → Value #

toEncoding ∷ StakePoolRelay → Encoding #

toJSONList ∷ [StakePoolRelay] → Value #

toEncodingList ∷ [StakePoolRelay] → Encoding #

ToJSON PoolMetadata 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toJSON ∷ PoolMetadata → Value #

toEncoding ∷ PoolMetadata → Encoding #

toJSONList ∷ [PoolMetadata] → Value #

toEncodingList ∷ [PoolMetadata] → Encoding #

ToJSON Network 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toJSON ∷ Network → Value #

toEncoding ∷ Network → Encoding #

toJSONList ∷ [Network] → Value #

toEncodingList ∷ [Network] → Encoding #

ToJSON EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Methods

toJSON ∷ EpochNumber → Value #

toEncoding ∷ EpochNumber → Encoding #

toJSONList ∷ [EpochNumber] → Value #

toEncodingList ∷ [EpochNumber] → Encoding #

ToJSON SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Methods

toJSON ∷ SlotNumber → Value #

toEncoding ∷ SlotNumber → Encoding #

toJSONList ∷ [SlotNumber] → Value #

toEncodingList ∷ [SlotNumber] → Encoding #

ToJSON RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toJSON ∷ RequiresNetworkMagic → Value #

toEncoding ∷ RequiresNetworkMagic → Encoding #

toJSONList ∷ [RequiresNetworkMagic] → Value #

toEncodingList ∷ [RequiresNetworkMagic] → Encoding #

ToJSON ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Methods

toJSON ∷ ProtocolVersion → Value #

toEncoding ∷ ProtocolVersion → Encoding #

toJSONList ∷ [ProtocolVersion] → Value #

toEncodingList ∷ [ProtocolVersion] → Encoding #

ToJSON ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toJSON ∷ ProtocolMagicId → Value #

toEncoding ∷ ProtocolMagicId → Encoding #

toJSONList ∷ [ProtocolMagicId] → Value #

toEncodingList ∷ [ProtocolMagicId] → Encoding #

ToJSON SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Methods

toJSON ∷ SoftwareVersion → Value #

toEncoding ∷ SoftwareVersion → Encoding #

toJSONList ∷ [SoftwareVersion] → Value #

toEncodingList ∷ [SoftwareVersion] → Encoding #

ToJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

toJSON ∷ VerificationKey → Value #

toEncoding ∷ VerificationKey → Encoding #

toJSONList ∷ [VerificationKey] → Value #

toEncodingList ∷ [VerificationKey] → Encoding #

ToJSON GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Methods

toJSON ∷ GenesisHash → Value #

toEncoding ∷ GenesisHash → Encoding #

toJSONList ∷ [GenesisHash] → Value #

toEncodingList ∷ [GenesisHash] → Encoding #

ToJSON Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON ∷ Tx → Value #

toEncoding ∷ Tx → Encoding #

toJSONList ∷ [Tx] → Value #

toEncodingList ∷ [Tx] → Encoding #

ToJSON ProtocolMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

toJSON ∷ ProtocolMagic → Value #

toEncoding ∷ ProtocolMagic → Encoding #

toJSONList ∷ [ProtocolMagic] → Value #

toEncodingList ∷ [ProtocolMagic] → Encoding #

ToJSON CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

toJSON ∷ CompactRedeemVerificationKey → Value #

toEncoding ∷ CompactRedeemVerificationKey → Encoding #

toJSONList ∷ [CompactRedeemVerificationKey] → Value #

toEncodingList ∷ [CompactRedeemVerificationKey] → Encoding #

ToJSON Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Methods

toJSON ∷ Lovelace → Value #

toEncoding ∷ Lovelace → Encoding #

toJSONList ∷ [Lovelace] → Value #

toEncodingList ∷ [Lovelace] → Encoding #

ToJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

toJSON ∷ ByteString64 → Value #

toEncoding ∷ ByteString64 → Encoding #

toJSONList ∷ [ByteString64] → Value #

toEncodingList ∷ [ByteString64] → Encoding #

ToJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

toJSON ∷ RedeemVerificationKey → Value #

toEncoding ∷ RedeemVerificationKey → Encoding #

toJSONList ∷ [RedeemVerificationKey] → Value #

toEncodingList ∷ [RedeemVerificationKey] → Encoding #

ToJSON ChainDifficulty 
Instance details

Defined in Cardano.Chain.Common.ChainDifficulty

Methods

toJSON ∷ ChainDifficulty → Value #

toEncoding ∷ ChainDifficulty → Encoding #

toJSONList ∷ [ChainDifficulty] → Value #

toEncodingList ∷ [ChainDifficulty] → Encoding #

ToJSON Proof 
Instance details

Defined in Cardano.Chain.Block.Proof

Methods

toJSON ∷ Proof → Value #

toEncoding ∷ Proof → Encoding #

toJSONList ∷ [Proof] → Value #

toEncodingList ∷ [Proof] → Encoding #

ToJSON SscPayload 
Instance details

Defined in Cardano.Chain.Ssc

Methods

toJSON ∷ SscPayload → Value #

toEncoding ∷ SscPayload → Encoding #

toJSONList ∷ [SscPayload] → Value #

toEncodingList ∷ [SscPayload] → Encoding #

ToJSON ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toJSON ∷ ProposalBody → Value #

toEncoding ∷ ProposalBody → Encoding #

toJSONList ∷ [ProposalBody] → Value #

toEncodingList ∷ [ProposalBody] → Encoding #

ToJSON TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toJSON ∷ TxInWitness → Value #

toEncoding ∷ TxInWitness → Encoding #

toJSONList ∷ [TxInWitness] → Value #

toEncodingList ∷ [TxInWitness] → Encoding #

ToJSON TxProof 
Instance details

Defined in Cardano.Chain.UTxO.TxProof

Methods

toJSON ∷ TxProof → Value #

toEncoding ∷ TxProof → Encoding #

toJSONList ∷ [TxProof] → Value #

toEncodingList ∷ [TxProof] → Encoding #

ToJSON SscProof 
Instance details

Defined in Cardano.Chain.Ssc

Methods

toJSON ∷ SscProof → Value #

toEncoding ∷ SscProof → Encoding #

toJSONList ∷ [SscProof] → Value #

toEncodingList ∷ [SscProof] → Encoding #

ToJSON ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Methods

toJSON ∷ ApplicationName → Value #

toEncoding ∷ ApplicationName → Encoding #

toJSONList ∷ [ApplicationName] → Value #

toEncodingList ∷ [ApplicationName] → Encoding #

ToJSON AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toJSON ∷ AddrAttributes → Value #

toEncoding ∷ AddrAttributes → Encoding #

toJSONList ∷ [AddrAttributes] → Value #

toEncodingList ∷ [AddrAttributes] → Encoding #

ToJSON HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Methods

toJSON ∷ HDAddressPayload → Value #

toEncoding ∷ HDAddressPayload → Encoding #

toJSONList ∷ [HDAddressPayload] → Value #

toEncodingList ∷ [HDAddressPayload] → Encoding #

ToJSON NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Methods

toJSON ∷ NetworkMagic → Value #

toEncoding ∷ NetworkMagic → Encoding #

toJSONList ∷ [NetworkMagic] → Value #

toEncodingList ∷ [NetworkMagic] → Encoding #

ToJSON UnparsedFields 
Instance details

Defined in Cardano.Chain.Common.Attributes

Methods

toJSON ∷ UnparsedFields → Value #

toEncoding ∷ UnparsedFields → Encoding #

toJSONList ∷ [UnparsedFields] → Value #

toEncodingList ∷ [UnparsedFields] → Encoding #

ToJSON AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Methods

toJSON ∷ AddrType → Value #

toEncoding ∷ AddrType → Encoding #

toJSONList ∷ [AddrType] → Value #

toEncodingList ∷ [AddrType] → Encoding #

ToJSON Address 
Instance details

Defined in Cardano.Chain.Common.Address

Methods

toJSON ∷ Address → Value #

toEncoding ∷ Address → Encoding #

toJSONList ∷ [Address] → Value #

toEncodingList ∷ [Address] → Encoding #

ToJSON LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Methods

toJSON ∷ LovelacePortion → Value #

toEncoding ∷ LovelacePortion → Encoding #

toJSONList ∷ [LovelacePortion] → Value #

toEncodingList ∷ [LovelacePortion] → Encoding #

ToJSON TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Methods

toJSON ∷ TxFeePolicy → Value #

toEncoding ∷ TxFeePolicy → Encoding #

toJSONList ∷ [TxFeePolicy] → Value #

toEncodingList ∷ [TxFeePolicy] → Encoding #

ToJSON TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Methods

toJSON ∷ TxSizeLinear → Value #

toEncoding ∷ TxSizeLinear → Encoding #

toJSONList ∷ [TxSizeLinear] → Value #

toEncodingList ∷ [TxSizeLinear] → Encoding #

ToJSON TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON ∷ TxIn → Value #

toEncoding ∷ TxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSON TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSON ∷ TxOut → Value #

toEncoding ∷ TxOut → Encoding #

toJSONList ∷ [TxOut] → Value #

toEncodingList ∷ [TxOut] → Encoding #

ToJSON TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Methods

toJSON ∷ TxSigData → Value #

toEncoding ∷ TxSigData → Encoding #

toJSONList ∷ [TxSigData] → Value #

toEncodingList ∷ [TxSigData] → Encoding #

ToJSON InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Methods

toJSON ∷ InstallerHash → Value #

toEncoding ∷ InstallerHash → Encoding #

toJSONList ∷ [InstallerHash] → Value #

toEncodingList ∷ [InstallerHash] → Encoding #

ToJSON SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Methods

toJSON ∷ SystemTag → Value #

toEncoding ∷ SystemTag → Encoding #

toJSONList ∷ [SystemTag] → Value #

toEncodingList ∷ [SystemTag] → Encoding #

ToJSON ProtocolParametersUpdate 
Instance details

Defined in Cardano.Chain.Update.ProtocolParametersUpdate

Methods

toJSON ∷ ProtocolParametersUpdate → Value #

toEncoding ∷ ProtocolParametersUpdate → Encoding #

toJSONList ∷ [ProtocolParametersUpdate] → Value #

toEncodingList ∷ [ProtocolParametersUpdate] → Encoding #

ToJSON SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Methods

toJSON ∷ SoftforkRule → Value #

toEncoding ∷ SoftforkRule → Encoding #

toJSONList ∷ [SoftforkRule] → Value #

toEncodingList ∷ [SoftforkRule] → Encoding #

ToJSON DnsName 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toJSON ∷ DnsName → Value #

toEncoding ∷ DnsName → Encoding #

toJSONList ∷ [DnsName] → Value #

toEncodingList ∷ [DnsName] → Encoding #

ToJSON Port 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toJSON ∷ Port → Value #

toEncoding ∷ Port → Encoding #

toJSONList ∷ [Port] → Value #

toEncodingList ∷ [Port] → Encoding #

ToJSON Url 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toJSON ∷ Url → Value #

toEncoding ∷ Url → Encoding #

toJSONList ∷ [Url] → Value #

toEncodingList ∷ [Url] → Encoding #

ToJSON DeltaCoin Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ DeltaCoin → Value #

toEncoding ∷ DeltaCoin → Encoding #

toJSONList ∷ [DeltaCoin] → Value #

toEncodingList ∷ [DeltaCoin] → Encoding #

ToJSON AccountState Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ AccountState → Value #

toEncoding ∷ AccountState → Encoding #

toJSONList ∷ [AccountState] → Value #

toEncodingList ∷ [AccountState] → Encoding #

ToJSON RewardType Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ RewardType → Value #

toEncoding ∷ RewardType → Encoding #

toJSONList ∷ [RewardType] → Value #

toEncodingList ∷ [RewardType] → Encoding #

ToJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

toJSON ∷ StudentT → Value #

toEncoding ∷ StudentT → Encoding #

toJSONList ∷ [StudentT] → Value #

toEncodingList ∷ [StudentT] → Encoding #

ToJSON Month 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Month → Value #

toEncoding ∷ Month → Encoding #

toJSONList ∷ [Month] → Value #

toEncodingList ∷ [Month] → Encoding #

ToJSON Quarter 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Quarter → Value #

toEncoding ∷ Quarter → Encoding #

toJSONList ∷ [Quarter] → Value #

toEncodingList ∷ [Quarter] → Encoding #

ToJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ QuarterOfYear → Value #

toEncoding ∷ QuarterOfYear → Encoding #

toJSONList ∷ [QuarterOfYear] → Value #

toEncodingList ∷ [QuarterOfYear] → Encoding #

ToJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelope → Value #

toEncodingTextEnvelope → Encoding #

toJSONList ∷ [TextEnvelope] → Value #

toEncodingList ∷ [TextEnvelope] → Encoding #

ToJSON TextEnvelopeDescr Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelopeDescr → Value #

toEncodingTextEnvelopeDescr → Encoding #

toJSONList ∷ [TextEnvelopeDescr] → Value #

toEncodingList ∷ [TextEnvelopeDescr] → Encoding #

ToJSON TextEnvelopeType Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelopeType → Value #

toEncodingTextEnvelopeType → Encoding #

toJSONList ∷ [TextEnvelopeType] → Value #

toEncodingList ∷ [TextEnvelopeType] → Encoding #

ToJSON TxSubmitStatus Source # 
Instance details

Defined in Cardano.Api.TxSubmit.Types

Methods

toJSONTxSubmitStatus → Value #

toEncodingTxSubmitStatus → Encoding #

toJSONList ∷ [TxSubmitStatus] → Value #

toEncodingList ∷ [TxSubmitStatus] → Encoding #

ToJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONScriptInAnyLang → Value #

toEncodingScriptInAnyLang → Encoding #

toJSONList ∷ [ScriptInAnyLang] → Value #

toEncodingList ∷ [ScriptInAnyLang] → Encoding #

ToJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONValueNestedRep → Value #

toEncodingValueNestedRep → Encoding #

toJSONList ∷ [ValueNestedRep] → Value #

toEncodingList ∷ [ValueNestedRep] → Encoding #

ToJSON Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONValue → Value0 #

toEncodingValue → Encoding #

toJSONList ∷ [Value] → Value0 #

toEncodingList ∷ [Value] → Encoding #

ToJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONAssetName → Value #

toEncodingAssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

ToJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONQuantity → Value #

toEncodingQuantity → Encoding #

toJSONList ∷ [Quantity] → Value #

toEncodingList ∷ [Quantity] → Encoding #

ToJSON Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Methods

toJSONLovelace → Value #

toEncodingLovelace → Encoding #

toJSONList ∷ [Lovelace] → Value #

toEncodingList ∷ [Lovelace] → Encoding #

ToJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONPraosNonce → Value #

toEncodingPraosNonce → Encoding #

toJSONList ∷ [PraosNonce] → Value #

toEncodingList ∷ [PraosNonce] → Encoding #

ToJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONProtocolParameters → Value #

toEncodingProtocolParameters → Encoding #

toJSONList ∷ [ProtocolParameters] → Value #

toEncodingList ∷ [ProtocolParameters] → Encoding #

ToJSON TxIx Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxIx → Value #

toEncodingTxIx → Encoding #

toJSONList ∷ [TxIx] → Value #

toEncodingList ∷ [TxIx] → Encoding #

ToJSON TxIn Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxIn → Value #

toEncodingTxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSON TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxId → Value #

toEncodingTxId → Encoding #

toJSONList ∷ [TxId] → Value #

toEncodingList ∷ [TxId] → Encoding #

ToJSON ChainTip Source # 
Instance details

Defined in Cardano.Api.Block

Methods

toJSONChainTip → Value #

toEncodingChainTip → Encoding #

toJSONList ∷ [ChainTip] → Value #

toEncodingList ∷ [ChainTip] → Encoding #

ToJSON a ⇒ ToJSON [a] 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ [a] → Value #

toEncoding ∷ [a] → Encoding #

toJSONList ∷ [[a]] → Value #

toEncodingList ∷ [[a]] → Encoding #

ToJSON a ⇒ ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMaybe a → Value #

toEncodingMaybe a → Encoding #

toJSONList ∷ [Maybe a] → Value #

toEncodingList ∷ [Maybe a] → Encoding #

(ToJSON a, Integral a) ⇒ ToJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONRatio a → Value #

toEncodingRatio a → Encoding #

toJSONList ∷ [Ratio a] → Value #

toEncodingList ∷ [Ratio a] → Encoding #

ToJSON a ⇒ ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFirst a → Value #

toEncodingFirst a → Encoding #

toJSONList ∷ [First a] → Value #

toEncodingList ∷ [First a] → Encoding #

ToJSON a ⇒ ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLast a → Value #

toEncodingLast a → Encoding #

toJSONList ∷ [Last a] → Value #

toEncodingList ∷ [Last a] → Encoding #

ToJSON a ⇒ ToJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSet a → Value #

toEncodingSet a → Encoding #

toJSONList ∷ [Set a] → Value #

toEncodingList ∷ [Set a] → Encoding #

ToJSON a ⇒ ToJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNonEmpty a → Value #

toEncodingNonEmpty a → Encoding #

toJSONList ∷ [NonEmpty a] → Value #

toEncodingList ∷ [NonEmpty a] → Encoding #

ToJSON a ⇒ ToJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIdentity a → Value #

toEncodingIdentity a → Encoding #

toJSONList ∷ [Identity a] → Value #

toEncodingList ∷ [Identity a] → Encoding #

ToJSON a ⇒ ToJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMin a → Value #

toEncodingMin a → Encoding #

toJSONList ∷ [Min a] → Value #

toEncodingList ∷ [Min a] → Encoding #

ToJSON a ⇒ ToJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMax a → Value #

toEncodingMax a → Encoding #

toJSONList ∷ [Max a] → Value #

toEncodingList ∷ [Max a] → Encoding #

ToJSON a ⇒ ToJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWrappedMonoid a → Value #

toEncodingWrappedMonoid a → Encoding #

toJSONList ∷ [WrappedMonoid a] → Value #

toEncodingList ∷ [WrappedMonoid a] → Encoding #

ToJSON a ⇒ ToJSON (Option a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONOption a → Value #

toEncodingOption a → Encoding #

toJSONList ∷ [Option a] → Value #

toEncodingList ∷ [Option a] → Encoding #

ToJSON a ⇒ ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFirst a → Value #

toEncodingFirst a → Encoding #

toJSONList ∷ [First a] → Value #

toEncodingList ∷ [First a] → Encoding #

ToJSON a ⇒ ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLast a → Value #

toEncodingLast a → Encoding #

toJSONList ∷ [Last a] → Value #

toEncodingList ∷ [Last a] → Encoding #

ToJSON a ⇒ ToJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDual a → Value #

toEncodingDual a → Encoding #

toJSONList ∷ [Dual a] → Value #

toEncodingList ∷ [Dual a] → Encoding #

ToJSON a ⇒ ToJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIntMap a → Value #

toEncodingIntMap a → Encoding #

toJSONList ∷ [IntMap a] → Value #

toEncodingList ∷ [IntMap a] → Encoding #

ToJSON v ⇒ ToJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONTree v → Value #

toEncodingTree v → Encoding #

toJSONList ∷ [Tree v] → Value #

toEncodingList ∷ [Tree v] → Encoding #

ToJSON a ⇒ ToJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSeq a → Value #

toEncodingSeq a → Encoding #

toJSONList ∷ [Seq a] → Value #

toEncodingList ∷ [Seq a] → Encoding #

(Vector Vector a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

ToJSON a ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

ToJSON1 f ⇒ ToJSON (Fix f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Fix f → Value #

toEncoding ∷ Fix f → Encoding #

toJSONList ∷ [Fix f] → Value #

toEncodingList ∷ [Fix f] → Encoding #

(ToJSON1 f, Functor f) ⇒ ToJSON (Mu f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Mu f → Value #

toEncoding ∷ Mu f → Encoding #

toJSONList ∷ [Mu f] → Value #

toEncodingList ∷ [Mu f] → Encoding #

(ToJSON1 f, Functor f) ⇒ ToJSON (Nu f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Nu f → Value #

toEncoding ∷ Nu f → Encoding #

toJSONList ∷ [Nu f] → Value #

toEncodingList ∷ [Nu f] → Encoding #

ToJSON a ⇒ ToJSON (DNonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DNonEmpty a → Value #

toEncoding ∷ DNonEmpty a → Encoding #

toJSONList ∷ [DNonEmpty a] → Value #

toEncodingList ∷ [DNonEmpty a] → Encoding #

ToJSON a ⇒ ToJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DList a → Value #

toEncoding ∷ DList a → Encoding #

toJSONList ∷ [DList a] → Value #

toEncodingList ∷ [DList a] → Encoding #

ToJSON a ⇒ ToJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Array a → Value #

toEncoding ∷ Array a → Encoding #

toJSONList ∷ [Array a] → Value #

toEncodingList ∷ [Array a] → Encoding #

(Prim a, ToJSON a) ⇒ ToJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ PrimArray a → Value #

toEncoding ∷ PrimArray a → Encoding #

toJSONList ∷ [PrimArray a] → Value #

toEncodingList ∷ [PrimArray a] → Encoding #

ToJSON a ⇒ ToJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ SmallArray a → Value #

toEncoding ∷ SmallArray a → Encoding #

toJSONList ∷ [SmallArray a] → Value #

toEncodingList ∷ [SmallArray a] → Encoding #

ToJSON a ⇒ ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Maybe a → Value #

toEncoding ∷ Maybe a → Encoding #

toJSONList ∷ [Maybe a] → Value #

toEncodingList ∷ [Maybe a] → Encoding #

ToJSON a ⇒ ToJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ HashSet a → Value #

toEncoding ∷ HashSet a → Encoding #

toJSONList ∷ [HashSet a] → Value #

toEncodingList ∷ [HashSet a] → Encoding #

(Prim a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

(Storable a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

ToJSON (ScriptHash crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Scripts

Methods

toJSON ∷ ScriptHash crypto → Value #

toEncoding ∷ ScriptHash crypto → Encoding #

toJSONList ∷ [ScriptHash crypto] → Value #

toEncodingList ∷ [ScriptHash crypto] → Encoding #

ToJSON a ⇒ ToJSON (StrictMaybe a) 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

toJSON ∷ StrictMaybe a → Value #

toEncoding ∷ StrictMaybe a → Encoding #

toJSONList ∷ [StrictMaybe a] → Value #

toEncodingList ∷ [StrictMaybe a] → Encoding #

ToJSON (Addr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Address

Methods

toJSON ∷ Addr crypto → Value #

toEncoding ∷ Addr crypto → Encoding #

toJSONList ∷ [Addr crypto] → Value #

toEncodingList ∷ [Addr crypto] → Encoding #

(ToJSON (PParamsDelta era), UsesPParams era) ⇒ ToJSON (PPUPState era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PPUPState era → Value #

toEncoding ∷ PPUPState era → Encoding #

toJSONList ∷ [PPUPState era] → Value #

toEncodingList ∷ [PPUPState era] → Encoding #

ToJSON (PParams era) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

toJSON ∷ PParams era → Value #

toEncoding ∷ PParams era → Encoding #

toJSONList ∷ [PParams era] → Value #

toEncodingList ∷ [PParams era] → Encoding #

ToJSON (PParamsUpdate era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PParamsUpdate era → Value #

toEncoding ∷ PParamsUpdate era → Encoding #

toJSONList ∷ [PParamsUpdate era] → Value #

toEncodingList ∷ [PParamsUpdate era] → Encoding #

(ShelleyBasedEra era, ToJSON (Value era)) ⇒ ToJSON (TxOut era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ TxOut era → Value #

toEncoding ∷ TxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

(ShelleyBasedEra era, ToJSON (TxOut era), ToJSON (PParamsDelta era)) ⇒ ToJSON (LedgerState era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ LedgerState era → Value #

toEncoding ∷ LedgerState era → Encoding #

toJSONList ∷ [LedgerState era] → Value #

toEncodingList ∷ [LedgerState era] → Encoding #

Crypto crypto ⇒ ToJSON (NonMyopic crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ NonMyopic crypto → Value #

toEncoding ∷ NonMyopic crypto → Encoding #

toJSONList ∷ [NonMyopic crypto] → Value #

toEncodingList ∷ [NonMyopic crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PState crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PState crypto → Value #

toEncoding ∷ PState crypto → Encoding #

toJSONList ∷ [PState crypto] → Value #

toEncodingList ∷ [PState crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PoolParams crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toJSON ∷ PoolParams crypto → Value #

toEncoding ∷ PoolParams crypto → Encoding #

toJSONList ∷ [PoolParams crypto] → Value #

toEncodingList ∷ [PoolParams crypto] → Encoding #

ToJSON (InstantaneousRewards crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ InstantaneousRewards crypto → Value #

toEncoding ∷ InstantaneousRewards crypto → Encoding #

toJSONList ∷ [InstantaneousRewards crypto] → Value #

toEncodingList ∷ [InstantaneousRewards crypto] → Encoding #

Crypto crypto ⇒ ToJSON (SnapShots crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ SnapShots crypto → Value #

toEncoding ∷ SnapShots crypto → Encoding #

toJSONList ∷ [SnapShots crypto] → Value #

toEncodingList ∷ [SnapShots crypto] → Encoding #

Crypto crypto ⇒ ToJSON (SnapShot crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ SnapShot crypto → Value #

toEncoding ∷ SnapShot crypto → Encoding #

toJSONList ∷ [SnapShot crypto] → Value #

toEncodingList ∷ [SnapShot crypto] → Encoding #

Era era ⇒ ToJSON (ShelleyGenesis era) 
Instance details

Defined in Shelley.Spec.Ledger.Genesis

Methods

toJSONShelleyGenesis era → Value #

toEncodingShelleyGenesis era → Encoding #

toJSONList ∷ [ShelleyGenesis era] → Value #

toEncodingList ∷ [ShelleyGenesis era] → Encoding #

Crypto crypto ⇒ ToJSON (GenDelegPair crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

toJSON ∷ GenDelegPair crypto → Value #

toEncoding ∷ GenDelegPair crypto → Encoding #

toJSONList ∷ [GenDelegPair crypto] → Value #

toEncodingList ∷ [GenDelegPair crypto] → Encoding #

Crypto crypto ⇒ ToJSON (BlocksMade crypto) 
Instance details

Defined in Shelley.Spec.Ledger.EpochBoundary

Methods

toJSON ∷ BlocksMade crypto → Value #

toEncoding ∷ BlocksMade crypto → Encoding #

toJSONList ∷ [BlocksMade crypto] → Value #

toEncodingList ∷ [BlocksMade crypto] → Encoding #

(ShelleyBasedEra era, ToJSON (TxOut era), ToJSON (PParams era), ToJSON (PParamsDelta era)) ⇒ ToJSON (EpochState era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ EpochState era → Value #

toEncoding ∷ EpochState era → Encoding #

toJSONList ∷ [EpochState era] → Value #

toEncodingList ∷ [EpochState era] → Encoding #

Crypto crypto ⇒ ToJSON (PulsingRewUpdate crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PulsingRewUpdate crypto → Value #

toEncoding ∷ PulsingRewUpdate crypto → Encoding #

toJSONList ∷ [PulsingRewUpdate crypto] → Value #

toEncodingList ∷ [PulsingRewUpdate crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PoolDistr crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PoolDistr crypto → Value #

toEncoding ∷ PoolDistr crypto → Encoding #

toJSONList ∷ [PoolDistr crypto] → Value #

toEncodingList ∷ [PoolDistr crypto] → Encoding #

(ShelleyBasedEra era, ToJSON (TxOut era)) ⇒ ToJSON (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ UTxO era → Value #

toEncoding ∷ UTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

ToJSON (FutureGenDeleg crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ FutureGenDeleg crypto → Value #

toEncoding ∷ FutureGenDeleg crypto → Encoding #

toJSONList ∷ [FutureGenDeleg crypto] → Value #

toEncodingList ∷ [FutureGenDeleg crypto] → Encoding #

Crypto crypto ⇒ ToJSON (DState crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ DState crypto → Value #

toEncoding ∷ DState crypto → Encoding #

toJSONList ∷ [DState crypto] → Value #

toEncodingList ∷ [DState crypto] → Encoding #

ToJSON (IndividualPoolStake crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ IndividualPoolStake crypto → Value #

toEncoding ∷ IndividualPoolStake crypto → Encoding #

toJSONList ∷ [IndividualPoolStake crypto] → Value #

toEncodingList ∷ [IndividualPoolStake crypto] → Encoding #

ToJSON (Value era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Value era → Value0 #

toEncoding ∷ Value era → Encoding #

toJSONList ∷ [Value era] → Value0 #

toEncodingList ∷ [Value era] → Encoding #

ToJSON (PolicyID era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ PolicyID era → Value #

toEncoding ∷ PolicyID era → Encoding #

toJSONList ∷ [PolicyID era] → Value #

toEncodingList ∷ [PolicyID era] → Encoding #

Crypto crypto ⇒ ToJSON (RewardProvenance crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

toJSON ∷ RewardProvenance crypto → Value #

toEncoding ∷ RewardProvenance crypto → Encoding #

toJSONList ∷ [RewardProvenance crypto] → Value #

toEncodingList ∷ [RewardProvenance crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardProvenancePool crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

toJSON ∷ RewardProvenancePool crypto → Value #

toEncoding ∷ RewardProvenancePool crypto → Encoding #

toJSONList ∷ [RewardProvenancePool crypto] → Value #

toEncodingList ∷ [RewardProvenancePool crypto] → Encoding #

ToJSON (RewardAcnt crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Address

Methods

toJSON ∷ RewardAcnt crypto → Value #

toEncoding ∷ RewardAcnt crypto → Encoding #

toJSONList ∷ [RewardAcnt crypto] → Value #

toEncodingList ∷ [RewardAcnt crypto] → Encoding #

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toJSONHash StakePoolKey → Value #

toEncodingHash StakePoolKey → Encoding #

toJSONList ∷ [Hash StakePoolKey] → Value #

toEncodingList ∷ [Hash StakePoolKey] → Encoding #

ToJSON a ⇒ ToJSON (AHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON ∷ AHeader a → Value #

toEncoding ∷ AHeader a → Encoding #

toJSONList ∷ [AHeader a] → Value #

toEncodingList ∷ [AHeader a] → Encoding #

Crypto crypto ⇒ ToJSON (ShelleyGenesisStaking crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Genesis

Methods

toJSON ∷ ShelleyGenesisStaking crypto → Value #

toEncoding ∷ ShelleyGenesisStaking crypto → Encoding #

toJSONList ∷ [ShelleyGenesisStaking crypto] → Value #

toEncodingList ∷ [ShelleyGenesisStaking crypto] → Encoding #

ToJSON a ⇒ ToJSON (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toJSON ∷ ATxAux a → Value #

toEncoding ∷ ATxAux a → Encoding #

toJSONList ∷ [ATxAux a] → Value #

toEncodingList ∷ [ATxAux a] → Encoding #

ToJSON a ⇒ ToJSON (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Methods

toJSON ∷ ACertificate a → Value #

toEncoding ∷ ACertificate a → Encoding #

toJSONList ∷ [ACertificate a] → Value #

toEncodingList ∷ [ACertificate a] → Encoding #

ToJSON a ⇒ ToJSON (AProposal a) 
Instance details

Defined in Cardano.Chain.Update.Proposal

Methods

toJSON ∷ AProposal a → Value #

toEncoding ∷ AProposal a → Encoding #

toJSONList ∷ [AProposal a] → Value #

toEncodingList ∷ [AProposal a] → Encoding #

ToJSON a ⇒ ToJSON (AVote a) 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

toJSON ∷ AVote a → Value #

toEncoding ∷ AVote a → Encoding #

toJSONList ∷ [AVote a] → Value #

toEncodingList ∷ [AVote a] → Encoding #

ToJSON a ⇒ ToJSON (ABlockOrBoundary a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON ∷ ABlockOrBoundary a → Value #

toEncoding ∷ ABlockOrBoundary a → Encoding #

toJSONList ∷ [ABlockOrBoundary a] → Value #

toEncodingList ∷ [ABlockOrBoundary a] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON ∷ ABoundaryHeader a → Value #

toEncoding ∷ ABoundaryHeader a → Encoding #

toJSONList ∷ [ABoundaryHeader a] → Value #

toEncodingList ∷ [ABoundaryHeader a] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryBlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON ∷ ABoundaryBlock a → Value #

toEncoding ∷ ABoundaryBlock a → Encoding #

toJSONList ∷ [ABoundaryBlock a] → Value #

toEncodingList ∷ [ABoundaryBlock a] → Encoding #

(ShelleyBasedEra era, ToJSON (TxOut era), ToJSON (PParamsDelta era)) ⇒ ToJSON (UTxOState era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ UTxOState era → Value #

toEncoding ∷ UTxOState era → Encoding #

toJSONList ∷ [UTxOState era] → Value #

toEncodingList ∷ [UTxOState era] → Encoding #

Crypto crypto ⇒ ToJSON (DPState crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ DPState crypto → Value #

toEncoding ∷ DPState crypto → Encoding #

toJSONList ∷ [DPState crypto] → Value #

toEncodingList ∷ [DPState crypto] → Encoding #

(ToJSON (PParamsDelta era), UsesPParams era) ⇒ ToJSON (ProposedPPUpdates era) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ ProposedPPUpdates era → Value #

toEncoding ∷ ProposedPPUpdates era → Encoding #

toJSONList ∷ [ProposedPPUpdates era] → Value #

toEncodingList ∷ [ProposedPPUpdates era] → Encoding #

Crypto crypto ⇒ ToJSON (TxIn crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ TxIn crypto → Value #

toEncoding ∷ TxIn crypto → Encoding #

toJSONList ∷ [TxIn crypto] → Value #

toEncodingList ∷ [TxIn crypto] → Encoding #

ToJSON a ⇒ ToJSON (ABlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON ∷ ABlock a → Value #

toEncoding ∷ ABlock a → Encoding #

toJSONList ∷ [ABlock a] → Value #

toEncodingList ∷ [ABlock a] → Encoding #

ToJSON a ⇒ ToJSON (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

Methods

toJSON ∷ RedeemSignature a → Value #

toEncoding ∷ RedeemSignature a → Encoding #

toJSONList ∷ [RedeemSignature a] → Value #

toEncodingList ∷ [RedeemSignature a] → Encoding #

ToJSON (Signature w) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Methods

toJSON ∷ Signature w → Value #

toEncoding ∷ Signature w → Encoding #

toJSONList ∷ [Signature w] → Value #

toEncodingList ∷ [Signature w] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryBody a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSON ∷ ABoundaryBody a → Value #

toEncoding ∷ ABoundaryBody a → Encoding #

toJSONList ∷ [ABoundaryBody a] → Value #

toEncodingList ∷ [ABoundaryBody a] → Encoding #

ToJSON a ⇒ ToJSON (ABody a) 
Instance details

Defined in Cardano.Chain.Block.Body

Methods

toJSON ∷ ABody a → Value #

toEncoding ∷ ABody a → Encoding #

toJSONList ∷ [ABody a] → Value #

toEncodingList ∷ [ABody a] → Encoding #

ToJSON a ⇒ ToJSON (APayload a) 
Instance details

Defined in Cardano.Chain.Delegation.Payload

Methods

toJSON ∷ APayload a → Value #

toEncoding ∷ APayload a → Encoding #

toJSONList ∷ [APayload a] → Value #

toEncodingList ∷ [APayload a] → Encoding #

ToJSON a ⇒ ToJSON (ABlockSignature a) 
Instance details

Defined in Cardano.Chain.Block.Header

Methods

toJSON ∷ ABlockSignature a → Value #

toEncoding ∷ ABlockSignature a → Encoding #

toJSONList ∷ [ABlockSignature a] → Value #

toEncodingList ∷ [ABlockSignature a] → Encoding #

ToJSON a ⇒ ToJSON (ATxPayload a) 
Instance details

Defined in Cardano.Chain.UTxO.TxPayload

Methods

toJSON ∷ ATxPayload a → Value #

toEncoding ∷ ATxPayload a → Encoding #

toJSONList ∷ [ATxPayload a] → Value #

toEncodingList ∷ [ATxPayload a] → Encoding #

ToJSON a ⇒ ToJSON (APayload a) 
Instance details

Defined in Cardano.Chain.Update.Payload

Methods

toJSON ∷ APayload a → Value #

toEncoding ∷ APayload a → Encoding #

toJSONList ∷ [APayload a] → Value #

toEncodingList ∷ [APayload a] → Encoding #

ToJSON a ⇒ ToJSON (Attributes a) 
Instance details

Defined in Cardano.Chain.Common.Attributes

Methods

toJSON ∷ Attributes a → Value #

toEncoding ∷ Attributes a → Encoding #

toJSONList ∷ [Attributes a] → Value #

toEncodingList ∷ [Attributes a] → Encoding #

ToJSON a ⇒ ToJSON (MerkleRoot a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

Methods

toJSON ∷ MerkleRoot a → Value #

toEncoding ∷ MerkleRoot a → Encoding #

toJSONList ∷ [MerkleRoot a] → Value #

toEncodingList ∷ [MerkleRoot a] → Encoding #

Crypto crypto ⇒ ToJSON (GenDelegs crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ GenDelegs crypto → Value #

toEncoding ∷ GenDelegs crypto → Encoding #

toJSONList ∷ [GenDelegs crypto] → Value #

toEncodingList ∷ [GenDelegs crypto] → Encoding #

ToJSON (StakeCreds crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

toJSON ∷ StakeCreds crypto → Value #

toEncoding ∷ StakeCreds crypto → Encoding #

toJSONList ∷ [StakeCreds crypto] → Value #

toEncodingList ∷ [StakeCreds crypto] → Encoding #

ToJSON (Stake crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Stake crypto → Value #

toEncoding ∷ Stake crypto → Encoding #

toJSONList ∷ [Stake crypto] → Value #

toEncodingList ∷ [Stake crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardUpdate crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ RewardUpdate crypto → Value #

toEncoding ∷ RewardUpdate crypto → Encoding #

toJSONList ∷ [RewardUpdate crypto] → Value #

toEncodingList ∷ [RewardUpdate crypto] → Encoding #

ToJSON (Reward crypto) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Reward crypto → Value #

toEncoding ∷ Reward crypto → Encoding #

toJSONList ∷ [Reward crypto] → Value #

toEncodingList ∷ [Reward crypto] → Encoding #

ToJSON d ⇒ ToJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Methods

toJSON ∷ LinearTransform d → Value #

toEncoding ∷ LinearTransform d → Encoding #

toJSONList ∷ [LinearTransform d] → Value #

toEncodingList ∷ [LinearTransform d] → Encoding #

ToJSON (SimpleScript lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONSimpleScript lang → Value #

toEncodingSimpleScript lang → Encoding #

toJSONList ∷ [SimpleScript lang] → Value #

toEncodingList ∷ [SimpleScript lang] → Encoding #

ToJSON (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONScriptInEra era → Value #

toEncodingScriptInEra era → Encoding #

toJSONList ∷ [ScriptInEra era] → Value #

toEncodingList ∷ [ScriptInEra era] → Encoding #

ToJSON (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

toJSONScript lang → Value #

toEncodingScript lang → Encoding #

toJSONList ∷ [Script lang] → Value #

toEncodingList ∷ [Script lang] → Encoding #

IsCardanoEra era ⇒ ToJSON (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

Methods

toJSONAddressInEra era → Value #

toEncodingAddressInEra era → Encoding #

toJSONList ∷ [AddressInEra era] → Value #

toEncodingList ∷ [AddressInEra era] → Encoding #

ToJSON (TxOutValue era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxOutValue era → Value #

toEncodingTxOutValue era → Encoding #

toJSONList ∷ [TxOutValue era] → Value #

toEncodingList ∷ [TxOutValue era] → Encoding #

ToJSON (MultiAssetSupportedInEra era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONMultiAssetSupportedInEra era → Value #

toEncodingMultiAssetSupportedInEra era → Encoding #

toJSONList ∷ [MultiAssetSupportedInEra era] → Value #

toEncodingList ∷ [MultiAssetSupportedInEra era] → Encoding #

IsCardanoEra era ⇒ ToJSON (TxOut era) Source # 
Instance details

Defined in Cardano.Api.TxBody

Methods

toJSONTxOut era → Value #

toEncodingTxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

(IsShelleyBasedEra era, ShelleyLedgerEra era ~ ledgerera, ShelleyBasedEra ledgerera, ToJSON (PParams ledgerera), ToJSON (PParamsDelta ledgerera), ToJSON (TxOut ledgerera)) ⇒ ToJSON (LedgerState era) Source # 
Instance details

Defined in Cardano.Api.Query

Methods

toJSONLedgerState era → Value #

toEncodingLedgerState era → Encoding #

toJSONList ∷ [LedgerState era] → Value #

toEncodingList ∷ [LedgerState era] → Encoding #

IsCardanoEra era ⇒ ToJSON (UTxO era) Source # 
Instance details

Defined in Cardano.Api.Query

Methods

toJSONUTxO era → Value #

toEncodingUTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONEither a b → Value #

toEncodingEither a b → Encoding #

toJSONList ∷ [Either a b] → Value #

toEncodingList ∷ [Either a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b) → Value #

toEncoding ∷ (a, b) → Encoding #

toJSONList ∷ [(a, b)] → Value #

toEncodingList ∷ [(a, b)] → Encoding #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMap k v → Value #

toEncodingMap k v → Encoding #

toJSONList ∷ [Map k v] → Value #

toEncodingList ∷ [Map k v] → Encoding #

ToJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProxy a → Value #

toEncodingProxy a → Encoding #

toJSONList ∷ [Proxy a] → Value #

toEncodingList ∷ [Proxy a] → Encoding #

HasResolution a ⇒ ToJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFixed a → Value #

toEncodingFixed a → Encoding #

toJSONList ∷ [Fixed a] → Value #

toEncodingList ∷ [Fixed a] → Encoding #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ HashMap k v → Value #

toEncoding ∷ HashMap k v → Encoding #

toJSONList ∷ [HashMap k v] → Value #

toEncodingList ∷ [HashMap k v] → Encoding #

ToJSON b ⇒ ToJSON (Annotated b a) 
Instance details

Defined in Cardano.Binary.Annotated

Methods

toJSON ∷ Annotated b a → Value #

toEncoding ∷ Annotated b a → Encoding #

toJSONList ∷ [Annotated b a] → Value #

toEncodingList ∷ [Annotated b a] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Either a b → Value #

toEncoding ∷ Either a b → Encoding #

toJSONList ∷ [Either a b] → Value #

toEncodingList ∷ [Either a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These a b → Value #

toEncoding ∷ These a b → Encoding #

toJSONList ∷ [These a b] → Value #

toEncodingList ∷ [These a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These a b → Value #

toEncoding ∷ These a b → Encoding #

toJSONList ∷ [These a b] → Value #

toEncodingList ∷ [These a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Pair a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Pair a b → Value #

toEncoding ∷ Pair a b → Encoding #

toJSONList ∷ [Pair a b] → Value #

toEncodingList ∷ [Pair a b] → Encoding #

ToJSON (Hash crypto a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

toJSON ∷ Hash crypto a → Value #

toEncoding ∷ Hash crypto a → Encoding #

toJSONList ∷ [Hash crypto a] → Value #

toEncodingList ∷ [Hash crypto a] → Encoding #

ToJSON (KeyHash disc crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

toJSON ∷ KeyHash disc crypto → Value #

toEncoding ∷ KeyHash disc crypto → Encoding #

toJSONList ∷ [KeyHash disc crypto] → Value #

toEncodingList ∷ [KeyHash disc crypto] → Encoding #

ToJSON (Credential kr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Credential

Methods

toJSON ∷ Credential kr crypto → Value #

toEncoding ∷ Credential kr crypto → Encoding #

toJSONList ∷ [Credential kr crypto] → Value #

toEncodingList ∷ [Credential kr crypto] → Encoding #

ToJSON (SafeHash c a) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ SafeHash c a → Value #

toEncoding ∷ SafeHash c a → Encoding #

toJSONList ∷ [SafeHash c a] → Value #

toEncodingList ∷ [SafeHash c a] → Encoding #

ToJSON (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

toJSON ∷ AbstractHash algo a → Value #

toEncoding ∷ AbstractHash algo a → Encoding #

toJSONList ∷ [AbstractHash algo a] → Value #

toEncodingList ∷ [AbstractHash algo a] → Encoding #

ToJSON (Bimap Ptr (Credential 'Staking crypto)) Source # 
Instance details

Defined in Cardano.Api.Orphans

Methods

toJSON ∷ Bimap Ptr (Credential 'Staking crypto) → Value #

toEncoding ∷ Bimap Ptr (Credential 'Staking crypto) → Encoding #

toJSONList ∷ [Bimap Ptr (Credential 'Staking crypto)] → Value #

toEncodingList ∷ [Bimap Ptr (Credential 'Staking crypto)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c) ⇒ ToJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c) → Value #

toEncoding ∷ (a, b, c) → Encoding #

toJSONList ∷ [(a, b, c)] → Value #

toEncodingList ∷ [(a, b, c)] → Encoding #

ToJSON a ⇒ ToJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONConst a b → Value #

toEncodingConst a b → Encoding #

toJSONList ∷ [Const a b] → Value #

toEncodingList ∷ [Const a b] → Encoding #

ToJSON b ⇒ ToJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Tagged a b → Value #

toEncoding ∷ Tagged a b → Encoding #

toJSONList ∷ [Tagged a b] → Value #

toEncodingList ∷ [Tagged a b] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (These1 f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These1 f g a → Value #

toEncoding ∷ These1 f g a → Encoding #

toJSONList ∷ [These1 f g a] → Value #

toEncodingList ∷ [These1 f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d) ⇒ ToJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d) → Value #

toEncoding ∷ (a, b, c, d) → Encoding #

toJSONList ∷ [(a, b, c, d)] → Value #

toEncodingList ∷ [(a, b, c, d)] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProduct f g a → Value #

toEncodingProduct f g a → Encoding #

toJSONList ∷ [Product f g a] → Value #

toEncodingList ∷ [Product f g a] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSum f g a → Value #

toEncodingSum f g a → Encoding #

toJSONList ∷ [Sum f g a] → Value #

toEncodingList ∷ [Sum f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e) ⇒ ToJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e) → Value #

toEncoding ∷ (a, b, c, d, e) → Encoding #

toJSONList ∷ [(a, b, c, d, e)] → Value #

toEncodingList ∷ [(a, b, c, d, e)] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCompose f g a → Value #

toEncodingCompose f g a → Encoding #

toJSONList ∷ [Compose f g a] → Value #

toEncodingList ∷ [Compose f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f) ⇒ ToJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f) → Value #

toEncoding ∷ (a, b, c, d, e, f) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g) ⇒ ToJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g) → Value #

toEncoding ∷ (a, b, c, d, e, f, g) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h) ⇒ ToJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i) ⇒ ToJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n, ToJSON o) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] → Encoding #

class FromJSON a #

Instances

Instances details
FromJSON Bool 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Bool #

parseJSONList ∷ Value → Parser [Bool] #

FromJSON Char 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Char #

parseJSONList ∷ Value → Parser [Char] #

FromJSON Double 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Double #

parseJSONList ∷ Value → Parser [Double] #

FromJSON Float 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Float #

parseJSONList ∷ Value → Parser [Float] #

FromJSON Int 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int #

parseJSONList ∷ Value → Parser [Int] #

FromJSON Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int8 #

parseJSONList ∷ Value → Parser [Int8] #

FromJSON Int16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int16 #

parseJSONList ∷ Value → Parser [Int16] #

FromJSON Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int32 #

parseJSONList ∷ Value → Parser [Int32] #

FromJSON Int64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int64 #

parseJSONList ∷ Value → Parser [Int64] #

FromJSON Integer 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Integer #

parseJSONList ∷ Value → Parser [Integer] #

FromJSON Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Natural #

parseJSONList ∷ Value → Parser [Natural] #

FromJSON Ordering 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Ordering #

parseJSONList ∷ Value → Parser [Ordering] #

FromJSON Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word #

parseJSONList ∷ Value → Parser [Word] #

FromJSON Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word8 #

parseJSONList ∷ Value → Parser [Word8] #

FromJSON Word16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word16 #

parseJSONList ∷ Value → Parser [Word16] #

FromJSON Word32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word32 #

parseJSONList ∷ Value → Parser [Word32] #

FromJSON Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word64 #

parseJSONList ∷ Value → Parser [Word64] #

FromJSON () 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser () #

parseJSONList ∷ Value → Parser [()] #

FromJSON Version 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Version #

parseJSONList ∷ Value → Parser [Version] #

FromJSON Void 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Void #

parseJSONList ∷ Value → Parser [Void] #

FromJSON CTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CTime #

parseJSONList ∷ Value → Parser [CTime] #

FromJSON IntSet 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser IntSet #

parseJSONList ∷ Value → Parser [IntSet] #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Text #

parseJSONList ∷ Value → Parser [Text] #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Text #

parseJSONList ∷ Value → Parser [Text] #

FromJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser ZonedTime #

parseJSONList ∷ Value → Parser [ZonedTime] #

FromJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser LocalTime #

parseJSONList ∷ Value → Parser [LocalTime] #

FromJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser TimeOfDay #

parseJSONList ∷ Value → Parser [TimeOfDay] #

FromJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CalendarDiffTime #

parseJSONList ∷ Value → Parser [CalendarDiffTime] #

FromJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser UTCTime #

parseJSONList ∷ Value → Parser [UTCTime] #

FromJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser SystemTime #

parseJSONList ∷ Value → Parser [SystemTime] #

FromJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser NominalDiffTime #

parseJSONList ∷ Value → Parser [NominalDiffTime] #

FromJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DiffTime #

parseJSONList ∷ Value → Parser [DiffTime] #

FromJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DayOfWeek #

parseJSONList ∷ Value → Parser [DayOfWeek] #

FromJSON Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Day #

parseJSONList ∷ Value → Parser [Day] #

FromJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CalendarDiffDays #

parseJSONList ∷ Value → Parser [CalendarDiffDays] #

FromJSON Scientific 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Scientific #

parseJSONList ∷ Value → Parser [Scientific] #

FromJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DotNetTime #

parseJSONList ∷ Value → Parser [DotNetTime] #

FromJSON Value 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Value #

parseJSONList ∷ Value → Parser [Value] #

FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochNo #

parseJSONList ∷ Value → Parser [EpochNo] #

FromJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochSize #

parseJSONList ∷ Value → Parser [EpochSize] #

FromJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Methods

parseJSON ∷ Value → Parser SlotNo #

parseJSONList ∷ Value → Parser [SlotNo] #

FromJSON UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser UUID #

parseJSONList ∷ Value → Parser [UUID] #

FromJSON Coin 
Instance details

Defined in Shelley.Spec.Ledger.Coin

Methods

parseJSON ∷ Value → Parser Coin #

parseJSONList ∷ Value → Parser [Coin] #

FromJSON UnitInterval 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser UnitInterval #

parseJSONList ∷ Value → Parser [UnitInterval] #

FromJSON ProtVer 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

parseJSON ∷ Value → Parser ProtVer #

parseJSONList ∷ Value → Parser [ProtVer] #

FromJSON Nonce 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Nonce #

parseJSONList ∷ Value → Parser [Nonce] #

FromJSON Desirability 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

parseJSON ∷ Value → Parser Desirability #

parseJSONList ∷ Value → Parser [Desirability] #

FromJSON StakePoolRelay 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser StakePoolRelay #

parseJSONList ∷ Value → Parser [StakePoolRelay] #

FromJSON PoolMetadata 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser PoolMetadata #

parseJSONList ∷ Value → Parser [PoolMetadata] #

FromJSON Network 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Network #

parseJSONList ∷ Value → Parser [Network] #

FromJSON RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser RequiresNetworkMagic #

parseJSONList ∷ Value → Parser [RequiresNetworkMagic] #

FromJSON ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser ProtocolMagicId #

parseJSONList ∷ Value → Parser [ProtocolMagicId] #

FromJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Methods

parseJSON ∷ Value → Parser VerificationKey #

parseJSONList ∷ Value → Parser [VerificationKey] #

FromJSON ProtocolMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser ProtocolMagic #

parseJSONList ∷ Value → Parser [ProtocolMagic] #

FromJSON CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Methods

parseJSON ∷ Value → Parser CompactRedeemVerificationKey #

parseJSONList ∷ Value → Parser [CompactRedeemVerificationKey] #

FromJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

parseJSON ∷ Value → Parser ByteString64 #

parseJSONList ∷ Value → Parser [ByteString64] #

FromJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Methods

parseJSON ∷ Value → Parser RedeemVerificationKey #

parseJSONList ∷ Value → Parser [RedeemVerificationKey] #

FromJSON DnsName 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser DnsName #

parseJSONList ∷ Value → Parser [DnsName] #

FromJSON Port 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Port #

parseJSONList ∷ Value → Parser [Port] #

FromJSON Url 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Url #

parseJSONList ∷ Value → Parser [Url] #

FromJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

parseJSON ∷ Value → Parser StudentT #

parseJSONList ∷ Value → Parser [StudentT] #

FromJSON Month 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Month #

parseJSONList ∷ Value → Parser [Month] #

FromJSON Quarter 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Quarter #

parseJSONList ∷ Value → Parser [Quarter] #

FromJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser QuarterOfYear #

parseJSONList ∷ Value → Parser [QuarterOfYear] #

FromJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelope #

parseJSONList ∷ Value → Parser [TextEnvelope] #

FromJSON TextEnvelopeDescr Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelopeDescr #

parseJSONList ∷ Value → Parser [TextEnvelopeDescr] #

FromJSON TextEnvelopeType Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelopeType #

parseJSONList ∷ Value → Parser [TextEnvelopeType] #

FromJSON ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser ScriptInAnyLang #

parseJSONList ∷ Value → Parser [ScriptInAnyLang] #

FromJSON StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Methods

parseJSON ∷ Value → Parser StakePoolMetadata #

parseJSONList ∷ Value → Parser [StakePoolMetadata] #

FromJSON ValueNestedRep Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser ValueNestedRep #

parseJSONList ∷ Value → Parser [ValueNestedRep] #

FromJSON Value Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value0 → Parser Value #

parseJSONList ∷ Value0 → Parser [Value] #

FromJSON AssetName Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser AssetName #

parseJSONList ∷ Value → Parser [AssetName] #

FromJSON Quantity Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser Quantity #

parseJSONList ∷ Value → Parser [Quantity] #

FromJSON Lovelace Source # 
Instance details

Defined in Cardano.Api.Value

Methods

parseJSON ∷ Value → Parser Lovelace #

parseJSONList ∷ Value → Parser [Lovelace] #

FromJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser PraosNonce #

parseJSONList ∷ Value → Parser [PraosNonce] #

FromJSON ProtocolParameters Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser ProtocolParameters #

parseJSONList ∷ Value → Parser [ProtocolParameters] #

FromJSON a ⇒ FromJSON [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser [a] #

parseJSONList ∷ Value → Parser [[a]] #

FromJSON a ⇒ FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Maybe a) #

parseJSONList ∷ Value → Parser [Maybe a] #

(FromJSON a, Integral a) ⇒ FromJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Ratio a) #

parseJSONList ∷ Value → Parser [Ratio a] #

FromJSON a ⇒ FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (First a) #

parseJSONList ∷ Value → Parser [First a] #

FromJSON a ⇒ FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Last a) #

parseJSONList ∷ Value → Parser [Last a] #

(Ord a, FromJSON a) ⇒ FromJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Set a) #

parseJSONList ∷ Value → Parser [Set a] #

FromJSON a ⇒ FromJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (NonEmpty a) #

parseJSONList ∷ Value → Parser [NonEmpty a] #

FromJSON a ⇒ FromJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Identity a) #

parseJSONList ∷ Value → Parser [Identity a] #

FromJSON a ⇒ FromJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Min a) #

parseJSONList ∷ Value → Parser [Min a] #

FromJSON a ⇒ FromJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Max a) #

parseJSONList ∷ Value → Parser [Max a] #

FromJSON a ⇒ FromJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (WrappedMonoid a) #

parseJSONList ∷ Value → Parser [WrappedMonoid a] #

FromJSON a ⇒ FromJSON (Option a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Option a) #

parseJSONList ∷ Value → Parser [Option a] #

FromJSON a ⇒ FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (First a) #

parseJSONList ∷ Value → Parser [First a] #

FromJSON a ⇒ FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Last a) #

parseJSONList ∷ Value → Parser [Last a] #

FromJSON a ⇒ FromJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Dual a) #

parseJSONList ∷ Value → Parser [Dual a] #

FromJSON a ⇒ FromJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (IntMap a) #

parseJSONList ∷ Value → Parser [IntMap a] #

FromJSON v ⇒ FromJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Tree v) #

parseJSONList ∷ Value → Parser [Tree v] #

FromJSON a ⇒ FromJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Seq a) #

parseJSONList ∷ Value → Parser [Seq a] #

(Vector Vector a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

FromJSON a ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

FromJSON1 f ⇒ FromJSON (Fix f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Fix f) #

parseJSONList ∷ Value → Parser [Fix f] #

(FromJSON1 f, Functor f) ⇒ FromJSON (Mu f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Mu f) #

parseJSONList ∷ Value → Parser [Mu f] #

(FromJSON1 f, Functor f) ⇒ FromJSON (Nu f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Nu f) #

parseJSONList ∷ Value → Parser [Nu f] #

FromJSON a ⇒ FromJSON (DNonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (DNonEmpty a) #

parseJSONList ∷ Value → Parser [DNonEmpty a] #

FromJSON a ⇒ FromJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (DList a) #

parseJSONList ∷ Value → Parser [DList a] #

FromJSON a ⇒ FromJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Array a) #

parseJSONList ∷ Value → Parser [Array a] #

(Prim a, FromJSON a) ⇒ FromJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (PrimArray a) #

parseJSONList ∷ Value → Parser [PrimArray a] #

FromJSON a ⇒ FromJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (SmallArray a) #

parseJSONList ∷ Value → Parser [SmallArray a] #

FromJSON a ⇒ FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Maybe a) #

parseJSONList ∷ Value → Parser [Maybe a] #

(Eq a, Hashable a, FromJSON a) ⇒ FromJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (HashSet a) #

parseJSONList ∷ Value → Parser [HashSet a] #

(Prim a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

(Storable a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

Crypto crypto ⇒ FromJSON (ScriptHash crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser (ScriptHash crypto) #

parseJSONList ∷ Value → Parser [ScriptHash crypto] #

FromJSON a ⇒ FromJSON (StrictMaybe a) 
Instance details

Defined in Shelley.Spec.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser (StrictMaybe a) #

parseJSONList ∷ Value → Parser [StrictMaybe a] #

Crypto crypto ⇒ FromJSON (Addr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Address

Methods

parseJSON ∷ Value → Parser (Addr crypto) #

parseJSONList ∷ Value → Parser [Addr crypto] #

FromJSON (PParams era) 
Instance details

Defined in Shelley.Spec.Ledger.PParams

Methods

parseJSON ∷ Value → Parser (PParams era) #

parseJSONList ∷ Value → Parser [PParams era] #

Crypto crypto ⇒ FromJSON (PoolParams crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser (PoolParams crypto) #

parseJSONList ∷ Value → Parser [PoolParams crypto] #

Era era ⇒ FromJSON (ShelleyGenesis era) 
Instance details

Defined in Shelley.Spec.Ledger.Genesis

Methods

parseJSON ∷ Value → Parser (ShelleyGenesis era) #

parseJSONList ∷ Value → Parser [ShelleyGenesis era] #

Crypto crypto ⇒ FromJSON (GenDelegPair crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (GenDelegPair crypto) #

parseJSONList ∷ Value → Parser [GenDelegPair crypto] #

Crypto crypto ⇒ FromJSON (BlocksMade crypto) 
Instance details

Defined in Shelley.Spec.Ledger.EpochBoundary

Methods

parseJSON ∷ Value → Parser (BlocksMade crypto) #

parseJSONList ∷ Value → Parser [BlocksMade crypto] #

Crypto crypto ⇒ FromJSON (RewardProvenance crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

parseJSON ∷ Value → Parser (RewardProvenance crypto) #

parseJSONList ∷ Value → Parser [RewardProvenance crypto] #

Crypto crypto ⇒ FromJSON (RewardProvenancePool crypto) 
Instance details

Defined in Shelley.Spec.Ledger.RewardProvenance

Methods

parseJSON ∷ Value → Parser (RewardProvenancePool crypto) #

parseJSONList ∷ Value → Parser [RewardProvenancePool crypto] #

Crypto crypto ⇒ FromJSON (RewardAcnt crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Address

Methods

parseJSON ∷ Value → Parser (RewardAcnt crypto) #

parseJSONList ∷ Value → Parser [RewardAcnt crypto] #

Crypto crypto ⇒ FromJSON (ShelleyGenesisStaking crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Genesis

Methods

parseJSON ∷ Value → Parser (ShelleyGenesisStaking crypto) #

parseJSONList ∷ Value → Parser [ShelleyGenesisStaking crypto] #

FromJSON a ⇒ FromJSON (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

Methods

parseJSON ∷ Value → Parser (RedeemSignature a) #

parseJSONList ∷ Value → Parser [RedeemSignature a] #

FromJSON (Signature w) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Methods

parseJSON ∷ Value → Parser (Signature w) #

parseJSONList ∷ Value → Parser [Signature w] #

Crypto crypto ⇒ FromJSON (StakeCreds crypto) 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser (StakeCreds crypto) #

parseJSONList ∷ Value → Parser [StakeCreds crypto] #

FromJSON d ⇒ FromJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Methods

parseJSON ∷ Value → Parser (LinearTransform d) #

parseJSONList ∷ Value → Parser [LinearTransform d] #

IsSimpleScriptLanguage lang ⇒ FromJSON (SimpleScript lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser (SimpleScript lang) #

parseJSONList ∷ Value → Parser [SimpleScript lang] #

IsCardanoEra era ⇒ FromJSON (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser (ScriptInEra era) #

parseJSONList ∷ Value → Parser [ScriptInEra era] #

IsScriptLanguage lang ⇒ FromJSON (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

Methods

parseJSON ∷ Value → Parser (Script lang) #

parseJSONList ∷ Value → Parser [Script lang] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Either a b) #

parseJSONList ∷ Value → Parser [Either a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b) #

parseJSONList ∷ Value → Parser [(a, b)] #

(FromJSONKey k, Ord k, FromJSON v) ⇒ FromJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Map k v) #

parseJSONList ∷ Value → Parser [Map k v] #

FromJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Proxy a) #

parseJSONList ∷ Value → Parser [Proxy a] #

HasResolution a ⇒ FromJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Fixed a) #

parseJSONList ∷ Value → Parser [Fixed a] #

(FromJSON v, FromJSONKey k, Eq k, Hashable k) ⇒ FromJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (HashMap k v) #

parseJSONList ∷ Value → Parser [HashMap k v] #

FromJSON b ⇒ FromJSON (Annotated b ()) 
Instance details

Defined in Cardano.Binary.Annotated

Methods

parseJSON ∷ Value → Parser (Annotated b ()) #

parseJSONList ∷ Value → Parser [Annotated b ()] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Either a b) #

parseJSONList ∷ Value → Parser [Either a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These a b) #

parseJSONList ∷ Value → Parser [These a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These a b) #

parseJSONList ∷ Value → Parser [These a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Pair a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Pair a b) #

parseJSONList ∷ Value → Parser [Pair a b] #

HashAlgorithm crypto ⇒ FromJSON (Hash crypto a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

parseJSON ∷ Value → Parser (Hash crypto a) #

parseJSONList ∷ Value → Parser [Hash crypto a] #

Crypto crypto ⇒ FromJSON (KeyHash disc crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (KeyHash disc crypto) #

parseJSONList ∷ Value → Parser [KeyHash disc crypto] #

Crypto crypto ⇒ FromJSON (Credential kr crypto) 
Instance details

Defined in Shelley.Spec.Ledger.Credential

Methods

parseJSON ∷ Value → Parser (Credential kr crypto) #

parseJSONList ∷ Value → Parser [Credential kr crypto] #

HashAlgorithm algo ⇒ FromJSON (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

parseJSON ∷ Value → Parser (AbstractHash algo a) #

parseJSONList ∷ Value → Parser [AbstractHash algo a] #

(FromJSON a, FromJSON b, FromJSON c) ⇒ FromJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c) #

parseJSONList ∷ Value → Parser [(a, b, c)] #

FromJSON a ⇒ FromJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Const a b) #

parseJSONList ∷ Value → Parser [Const a b] #

FromJSON b ⇒ FromJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Tagged a b) #

parseJSONList ∷ Value → Parser [Tagged a b] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (These1 f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These1 f g a) #

parseJSONList ∷ Value → Parser [These1 f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d) ⇒ FromJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d) #

parseJSONList ∷ Value → Parser [(a, b, c, d)] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Product f g a) #

parseJSONList ∷ Value → Parser [Product f g a] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Sum f g a) #

parseJSONList ∷ Value → Parser [Sum f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e) ⇒ FromJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e)] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Compose f g a) #

parseJSONList ∷ Value → Parser [Compose f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f) ⇒ FromJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g) ⇒ FromJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h) ⇒ FromJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i) ⇒ FromJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n, FromJSON o) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] #

writeFileJSONToJSON a ⇒ FilePath → a → IO (Either (FileError ()) ()) Source #

Bech32

class (HasTypeProxy a, SerialiseAsRawBytes a) ⇒ SerialiseAsBech32 a Source #

Minimal complete definition

bech32PrefixFor, bech32PrefixesPermitted

Instances

Instances details
SerialiseAsBech32 StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsBech32 (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsBech32 (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsBech32 (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsBech32 (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsBech32 (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsBech32 (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsBech32 (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Address

data Bech32DecodeError Source #

Bech32 decoding error.

Constructors

Bech32DecodingError !DecodingError

There was an error decoding the string as Bech32.

Bech32UnexpectedPrefix !Text !(Set Text)

The human-readable prefix in the Bech32-encoded string is not one of the ones expected.

Bech32DataPartToBytesError !Text

There was an error in extracting a ByteString from the data part of the Bech32-encoded string.

Bech32DeserialiseFromBytesError !ByteString

There was an error in deserialising the bytes into a value of the expected type.

Bech32WrongPrefix !Text !Text

The human-readable prefix in the Bech32-encoded string does not correspond to the prefix that should be used for the payload value.

Addresses

Address serialisation is (sadly) special

class HasTypeProxy addr ⇒ SerialiseAddress addr Source #

Address serialisation uses different serialisation formats for different kinds of addresses, so it needs its own class.

In particular, Byron addresses are typically formatted in base 58, while Shelley addresses (payment and stake) are formatted using Bech32.

Minimal complete definition

serialiseAddress, deserialiseAddress

Raw binary

Some types have a natural raw binary format.

class HasTypeProxy a ⇒ SerialiseAsRawBytes a Source #

Minimal complete definition

serialiseToRawBytes, deserialiseFromRawBytes

Instances

Instances details
SerialiseAsRawBytes ScriptHash Source # 
Instance details

Defined in Cardano.Api.Script

SerialiseAsRawBytes ByronVote Source # 
Instance details

Defined in Cardano.Api.SpecialByron

SerialiseAsRawBytes ByronUpdateProposal Source # 
Instance details

Defined in Cardano.Api.SpecialByron

SerialiseAsRawBytes StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes AssetName Source # 
Instance details

Defined in Cardano.Api.Value

SerialiseAsRawBytes PolicyId Source # 
Instance details

Defined in Cardano.Api.Value

SerialiseAsRawBytes TxId Source # 
Instance details

Defined in Cardano.Api.TxBody

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

SerialiseAsRawBytes (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsRawBytes (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsRawBytes (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsRawBytes (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

SerialiseAsRawBytes (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

SerialiseAsRawBytes (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsCardanoEra era ⇒ SerialiseAsRawBytes (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Address ShelleyAddr) Source # 
Instance details

Defined in Cardano.Api.Address

SerialiseAsRawBytes (Address ByronAddr) Source # 
Instance details

Defined in Cardano.Api.Address

Text envelope

Support for a envelope file format with text headers and a hex-encoded binary payload.

class SerialiseAsCBOR a ⇒ HasTextEnvelope a where Source #

Minimal complete definition

textEnvelopeType

Instances

Instances details
HasTextEnvelope ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Script

HasTextEnvelope UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

HasTextEnvelope Certificate Source # 
Instance details

Defined in Cardano.Api.Certificate

HasTextEnvelope OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTextEnvelope OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTextEnvelope (VerificationKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

HasTextEnvelope (VerificationKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

HasTextEnvelope (VerificationKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

HasTextEnvelope (VerificationKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

HasTextEnvelope (SigningKey StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey StakeKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey PaymentKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey VrfKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

HasTextEnvelope (SigningKey KesKey) Source # 
Instance details

Defined in Cardano.Api.KeysPraos

HasTextEnvelope (SigningKey ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.KeysByron

HasTextEnvelope (SigningKey ByronKey) Source # 
Instance details

Defined in Cardano.Api.KeysByron

IsShelleyBasedEra era ⇒ HasTextEnvelope (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Script

IsScriptLanguage lang ⇒ HasTextEnvelope (Script lang) Source # 
Instance details

Defined in Cardano.Api.Script

IsCardanoEra era ⇒ HasTextEnvelope (TxBody era) Source # 
Instance details

Defined in Cardano.Api.TxBody

IsCardanoEra era ⇒ HasTextEnvelope (Witness era) Source # 
Instance details

Defined in Cardano.Api.Tx

IsCardanoEra era ⇒ HasTextEnvelope (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx

data TextEnvelope Source #

A TextEnvelope is a structured envelope for serialised binary values with an external format with a semi-readable textual format.

It contains a "type" field, e.g. "PublicKeyByron" or "TxSignedShelley" to indicate the type of the encoded data. This is used as a sanity check and to help readers.

It also contains a "title" field which is free-form, and could be used to indicate the role or purpose to a reader.

Instances

Instances details
Eq TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Show TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

FromJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelope #

parseJSONList ∷ Value → Parser [TextEnvelope] #

ToJSON TextEnvelope Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelope → Value #

toEncodingTextEnvelope → Encoding #

toJSONList ∷ [TextEnvelope] → Value #

toEncodingList ∷ [TextEnvelope] → Encoding #

Reading one of several key types

data FromSomeType (c ∷ TypeConstraint) b where Source #

Constructors

FromSomeType ∷ c a ⇒ AsType a → (a → b) → FromSomeType c b 

Errors

class Show e ⇒ Error e where Source #

Methods

displayError ∷ e → String Source #

Instances

Instances details
Error () Source # 
Instance details

Defined in Cardano.Api.Error

Methods

displayError ∷ () → String Source #

Error JsonDecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseJSON

Error TextEnvelopeError Source # 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

Error TxMetadataJsonSchemaError Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Error TxMetadataJsonError Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Error TxMetadataRangeError Source # 
Instance details

Defined in Cardano.Api.TxMetadata

Error Bech32DecodeError Source # 
Instance details

Defined in Cardano.Api.SerialiseBech32

Error StakePoolMetadataValidationError Source # 
Instance details

Defined in Cardano.Api.StakePoolMetadata

Error OperationalCertIssueError Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Error e ⇒ Error (FileError e) Source # 
Instance details

Defined in Cardano.Api.Error

Error (TxBodyError era) Source # 
Instance details

Defined in Cardano.Api.TxBody

throwErrorAsExceptionError e ⇒ e → IO a Source #

The preferred approach is to use Except or ExceptT, but you can if necessary use IO exceptions.

data FileError e Source #

Instances

Instances details
Show e ⇒ Show (FileError e) Source # 
Instance details

Defined in Cardano.Api.Error

Methods

showsPrecIntFileError e → ShowS #

showFileError e → String #

showList ∷ [FileError e] → ShowS #

Error e ⇒ Error (FileError e) Source # 
Instance details

Defined in Cardano.Api.Error

Node interaction

Operations that involve talking to a local Cardano node.

Queries

Submitting transactions

Low level protocol interaction with a Cardano node

connectToLocalNodeLocalNodeConnectInfo mode → LocalNodeClientProtocolsInMode mode → IO () Source #

Establish a connection to a local node and execute the given set of protocol handlers.

data AnyConsensusMode where Source #

Instances

Instances details
Show AnyConsensusMode Source # 
Instance details

Defined in Cardano.Api.Modes

data ConsensusMode mode where Source #

This GADT provides a value-level representation of all the consensus modes. This enables pattern matching on the era to allow them to be treated in a non-uniform way.

Instances

Instances details
Show (ConsensusMode mode) Source # 
Instance details

Defined in Cardano.Api.Modes

Methods

showsPrecIntConsensusMode mode → ShowS #

showConsensusMode mode → String #

showList ∷ [ConsensusMode mode] → ShowS #

data ConsensusModeIsMultiEra mode where Source #

The subset of consensus modes that consist of multiple eras. Some features are not supported in single-era modes (for exact compatibility with not using the hard fork combinatior at all).

Instances

Instances details
Show (ConsensusModeIsMultiEra mode) Source # 
Instance details

Defined in Cardano.Api.Modes

data ConsensusModeParams mode where Source #

The consensus-mode-specific parameters needed to connect to a local node that is using each consensus mode.

It is in fact only the Byron era that requires extra parameters, but this is of course inherited by the CardanoMode that uses the Byron era. The reason this parameter is needed stems from unfortunate design decisions from the legacy Byron era. The slots per epoch are needed to be able to decode epoch boundary blocks from the Byron era.

It is possible in future that we may be able to eliminate this parameter by discovering it from the node during the initial handshake.

Instances

Instances details
Show (ConsensusModeParams mode) Source # 
Instance details

Defined in Cardano.Api.Modes

toEraInModeCardanoEra era → ConsensusMode mode → Maybe (EraInMode era mode) Source #

data LocalNodeClientProtocols block point tip tx txerr query m Source #

The protocols we can use with a local node. Use in conjunction with connectToLocalNode.

These protocols use the types from the rest of this API. The conversion to/from the types used by the underlying wire formats is handled by connectToLocalNode.

data CardanoMode Source #

The Cardano consensus mode consists of all the eras currently in use on the Cardano mainnet. This is currently: the ByronEra; ShelleyEra, AllegraEra and MaryEra, in that order.

This mode will be extended with new eras as the Cardano mainnet develops.

Chain sync protocol

To construct a ChainSyncClient see Cardano.Api.Client or Cardano.Api.ClientPipelined.

newtype ChainSyncClient header point tip (m ∷ TypeType) a #

Constructors

ChainSyncClient 

Fields

newtype ChainSyncClientPipelined header point tip (m ∷ TypeType) a #

Constructors

ChainSyncClientPipelined 

Fields

data BlockInMode mode where Source #

A Block in one of the eras supported by a given protocol mode.

For multi-era modes such as the CardanoMode this type is a sum of the different block types for all the eras. It is used in the ChainSync protocol.

Constructors

BlockInModeBlock era → EraInMode era mode → BlockInMode mode 

Instances

Instances details
Show (BlockInMode mode) Source # 
Instance details

Defined in Cardano.Api.Block

Methods

showsPrecIntBlockInMode mode → ShowS #

showBlockInMode mode → String #

showList ∷ [BlockInMode mode] → ShowS #

Local tx submission

data LocalTxSubmissionClient tx reject (m ∷ TypeType) a #

data TxInMode mode where Source #

A Tx in one of the eras supported by a given protocol mode.

For multi-era modes such as the CardanoMode this type is a sum of the different transaction types for all the eras. It is used in the LocalTxSubmission protocol.

Constructors

TxInModeTx era → EraInMode era mode → TxInMode mode

Everything we consider a normal transaction.

TxInByronSpecial ∷ GenTx ByronBlock → EraInMode ByronEra mode → TxInMode mode

Byron has various things we can post to the chain which are not actually transactions. This covers: update proposals, votes and delegation certs.

Instances

Instances details
Show (TxInMode mode) Source # 
Instance details

Defined in Cardano.Api.TxInMode

Methods

showsPrecIntTxInMode mode → ShowS #

showTxInMode mode → String #

showList ∷ [TxInMode mode] → ShowS #

data TxValidationErrorInMode mode where Source #

A TxValidationError in one of the eras supported by a given protocol mode.

This is used in the LocalStateQuery protocol.

Instances

Instances details
Show (TxValidationErrorInMode mode) Source # 
Instance details

Defined in Cardano.Api.TxInMode

runLocalTxSubmissionClientLocalTxSubmissionClient tx reject m a → m (LocalTxClientStIdle tx reject m a) #

Local state query

newtype LocalStateQueryClient block point (query ∷ TypeType) (m ∷ TypeType) a #

Constructors

LocalStateQueryClient 

Fields

data QueryInMode mode result where Source #

Constructors

QueryCurrentEraConsensusModeIsMultiEra mode → QueryInMode mode AnyCardanoEra 
QueryInEraEraInMode era mode → QueryInEra era result → QueryInMode mode (Either EraMismatch result) 

Instances

Instances details
Show (QueryInMode mode result) Source # 
Instance details

Defined in Cardano.Api.Query

Methods

showsPrecIntQueryInMode mode result → ShowS #

showQueryInMode mode result → String #

showList ∷ [QueryInMode mode result] → ShowS #

data QueryInEra era result where Source #

Constructors

QueryByronUpdateStateQueryInEra ByronEra ByronUpdateState 
QueryInShelleyBasedEraShelleyBasedEra era → QueryInShelleyBasedEra era result → QueryInEra era result 

Instances

Instances details
Show (QueryInEra era result) Source # 
Instance details

Defined in Cardano.Api.Query

Methods

showsPrecIntQueryInEra era result → ShowS #

showQueryInEra era result → String #

showList ∷ [QueryInEra era result] → ShowS #

queryNodeLocalState ∷ ∀ mode result. LocalNodeConnectInfo mode → Maybe ChainPointQueryInMode mode result → IO (Either AcquireFailure result) Source #

Establish a connection to a node and execute a single query using the local state query protocol.

Common queries

Node operation

Support for the steps needed to operate a node

Operational certificates

data OperationalCertificate Source #

Instances

Instances details
Eq OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Show OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

FromCBOR OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

ToCBOR OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Methods

toCBOROperationalCertificate → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy OperationalCertificate → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OperationalCertificate] → Size #

HasTypeProxy OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Associated Types

data AsType OperationalCertificate Source #

SerialiseAsCBOR OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTextEnvelope OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

data OperationalCertificateIssueCounter Source #

Instances

Instances details
Eq OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Show OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

FromCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

ToCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Methods

toCBOROperationalCertificateIssueCounter → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy OperationalCertificateIssueCounter → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [OperationalCertificateIssueCounter] → Size #

HasTypeProxy OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

SerialiseAsCBOR OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

HasTextEnvelope OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.OperationalCertificate

Genesis file

Types and functions needed to inspect or create a genesis file.

data GenesisKey Source #

Instances

Instances details
HasTypeProxy GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType GenesisKey Source #

Key GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole GenesisExtendedKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisKey] → Size #

ToCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey GenesisKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisKey] → Size #

SerialiseAsCBOR (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey GenesisKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisKey = GenesisKeyHash (KeyHash 'Genesis StandardCrypto)
newtype VerificationKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey GenesisKey = GenesisVerificationKey (VKey 'Genesis StandardCrypto)
newtype SigningKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype SigningKey GenesisKey = GenesisSigningKey (SignKeyDSIGN StandardCrypto)

data GenesisExtendedKey Source #

Shelley-era genesis keys using extended ed25519 cryptographic keys.

These serve the same role as normal genesis keys, but are here to support legacy Byron genesis keys which used extended keys.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey GenesisKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey GenesisKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType GenesisExtendedKey Source #

Key GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole GenesisExtendedKey GenesisKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisExtendedKey] → Size #

ToCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey GenesisExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisExtendedKey] → Size #

SerialiseAsCBOR (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisExtendedKey = GenesisExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype SigningKey GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data GenesisDelegateKey Source #

Instances

Instances details
HasTypeProxy GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType GenesisDelegateKey Source #

Key GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastSigningKeyRole GenesisDelegateKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole GenesisDelegateExtendedKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole GenesisDelegateKey StakePoolKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisDelegateKey] → Size #

ToCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey GenesisDelegateKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisDelegateKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisDelegateKey] → Size #

SerialiseAsCBOR (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisDelegateKey = GenesisDelegateKeyHash (KeyHash 'GenesisDelegate StandardCrypto)
newtype VerificationKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey GenesisDelegateKey = GenesisDelegateVerificationKey (VKey 'GenesisDelegate StandardCrypto)
newtype SigningKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype SigningKey GenesisDelegateKey = GenesisDelegateSigningKey (SignKeyDSIGN StandardCrypto)

data GenesisDelegateExtendedKey Source #

Shelley-era genesis keys using extended ed25519 cryptographic keys.

These serve the same role as normal genesis keys, but are here to support legacy Byron genesis keys which used extended keys.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey GenesisKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey GenesisKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Key GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole GenesisDelegateExtendedKey GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey GenesisDelegateExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisDelegateExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisDelegateExtendedKey] → Size #

SerialiseAsCBOR (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisDelegateExtendedKey = GenesisDelegateExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype SigningKey GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data GenesisUTxOKey Source #

Instances

Instances details
HasTypeProxy GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Associated Types

data AsType GenesisUTxOKey Source #

Key GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastSigningKeyRole GenesisUTxOKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

CastVerificationKeyRole GenesisUTxOKey PaymentKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Eq (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Ord (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Show (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

IsString (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

FromCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

ToCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORVerificationKey GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey GenesisUTxOKey] → Size #

ToCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

Methods

toCBORSigningKey GenesisUTxOKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey GenesisUTxOKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey GenesisUTxOKey] → Size #

SerialiseAsCBOR (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsCBOR (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

SerialiseAsRawBytes (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (VerificationKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

HasTextEnvelope (SigningKey GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.KeysShelley

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype Hash GenesisUTxOKey = GenesisUTxOKeyHash (KeyHash 'Payment StandardCrypto)
newtype VerificationKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype VerificationKey GenesisUTxOKey = GenesisUTxOVerificationKey (VKey 'Payment StandardCrypto)
newtype SigningKey GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.KeysShelley

newtype SigningKey GenesisUTxOKey = GenesisUTxOSigningKey (SignKeyDSIGN StandardCrypto)

genesisUTxOPseudoTxInNetworkIdHash GenesisUTxOKeyTxIn Source #

Compute the TxIn of the initial UTxO pseudo-transaction corresponding to the given address in the genesis initial funds.

The Shelley initial UTxO is constructed from the sgInitialFunds which is not a full UTxO but just a map from addresses to coin values.

This gets turned into a UTxO by making a pseudo-transaction for each address, with the 0th output being the coin value. So to spend from the initial UTxO we need this same TxIn to use as an input to the spending transaction.

Special transactions

There are various additional things that can be embedded in a transaction for special operations.

data MIRTarget Source #

The MIRTarget determines the target of a MIRCertificate. A MIRCertificate moves lovelace from either the reserves or the treasury to either a collection of stake credentials or to the other pot.

Constructors

StakeAddressesMIR [(StakeCredential, Lovelace)]

Use StakeAddressesMIR to make the target of a MIRCertificate a mapping of stake credentials to lovelace.

SendToOppositePotMIR Lovelace

Use SendToOppositePotMIR to make the target of a MIRCertificate the opposite pot. Specifically, if the MIRPot in a MIRCertificate is ReservesMIR, then using SendToOppositePotMIR will transfer lovelace from the reserves to the treasury. Otherwise, if it is TreasuryMIR, then using SendToOppositePotMIR will transfer lovelace from the treasury to the reserves.

Instances

Instances details
Eq MIRTarget Source # 
Instance details

Defined in Cardano.Api.Certificate

Methods

(==)MIRTargetMIRTargetBool #

(/=)MIRTargetMIRTargetBool #

Show MIRTarget Source # 
Instance details

Defined in Cardano.Api.Certificate

Methods

showsPrecIntMIRTargetShowS #

showMIRTargetString #

showList ∷ [MIRTarget] → ShowS #

Protocol parameter updates

data ProtocolParametersUpdate Source #

The representation of a change in the ProtocolParameters.

Constructors

ProtocolParametersUpdate 

Fields

data PraosNonce Source #

Instances

Instances details
Eq PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

(==)PraosNoncePraosNonceBool #

(/=)PraosNoncePraosNonceBool #

Ord PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Show PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Generic PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

type Rep PraosNonceTypeType #

FromJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser PraosNonce #

parseJSONList ∷ Value → Parser [PraosNonce] #

ToJSON PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSONPraosNonce → Value #

toEncodingPraosNonce → Encoding #

toJSONList ∷ [PraosNonce] → Value #

toEncodingList ∷ [PraosNonce] → Encoding #

type Rep PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

type Rep PraosNonce = D1 ('MetaData "PraosNonce" "Cardano.Api.ProtocolParameters" "cardano-api-1.26.0-inplace" 'True) (C1 ('MetaCons "PraosNonce" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash StandardCrypto ByteString))))

newtype NetworkMagic #

Constructors

NetworkMagic 

Instances

Instances details
Eq NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

Show NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

Generic NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

Associated Types

type Rep NetworkMagicTypeType #

NoThunks NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

Methods

noThunks ∷ Context → NetworkMagicIO (Maybe ThunkInfo)

wNoThunks ∷ Context → NetworkMagicIO (Maybe ThunkInfo)

showTypeOfProxy NetworkMagicString

type Rep NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

type Rep NetworkMagic = D1 ('MetaData "NetworkMagic" "Ouroboros.Network.Magic" "ouroboros-network-0.1.0.0-89b4f95b0dcad17d9adb91ff4421af919ea0625557d094d7bf398a6142d38fbd" 'True) (C1 ('MetaCons "NetworkMagic" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNetworkMagic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)))

Conversions

data SomeNodeClientProtocol where Source #

Constructors

SomeNodeClientProtocol ∷ RunNode blk ⇒ ProtocolClient blk (BlockProtocol blk) → SomeNodeClientProtocol